% $screenTitle="Main Menu"; %> <% if ($User->hasPermission($calendar_key,"APPROVE")) { $db = new DBFile($main::events_db); $unapproved_events = $db->getRecords( {'approved'=>'0'} ); $num_unapproved_events = $#$unapproved_events+1; if ($num_unapproved_events > 0) { &main::addUserMessage("There " . (($num_unapproved_events==1)?"is":"are") . " currently $num_unapproved_events unapproved event" . (($num_unapproved_events!=1)?"s":"") ); } } else { $num_unapproved_events = -1; } %>
<%= $category %> |
|