<% $screenTitle="Main Menu"; %> <% if ($User->hasPermission($Calendarendar,"APPROVE")) { $db = new DBFile($main::events_db); $unapproved_events = $db->getRecords( {'approved'=>'0'} ); $num_unapproved_events = $#$unapproved_events; } else { $num_unapproved_events = -1; } %> Calendar Administration : <%= $screenTitle %> " LINK="#000080" VLINK="#000080">
<% if ($User->hasPermission($Calendar,"ADD_EVENT") || $User->hasPermission($Calendar,"EDIT_EVENTS") || $User->hasPermission($Calendar,"EDIT_OWN_EVENTS") || $User->hasPermission($Calendar,"CUSTOMIZE_EVENT_FIELDS") || $User->hasPermission($Calendar,"IMPORT_EXPORT") || $User->hasPermission($Calendar,"APPROVE")) { %> <% } %> <% if ($User->{username} ne "anonymous") { %> <% if ($User->hasPermission($Calendar,"CALENDAR_SETTINGS") || $User->hasPermission($Calendar,"CUSTOMIZE_TEMPLATES")) { %> <% } %> <% if ($User->hasPermission("_global","ADMIN_SETTINGS") || $User->hasPermission("_global","FEEDBACK") || $User->hasPermission("_global","MANAGE_CALENDARS") ) { %>
Calendar
Events
    <% if ($User->hasPermission($Calendar,"ADD_EVENT")) { %>
  • Add Event : Add an event to the calendar <% } %> <% if ($User->hasPermission($Calendar,"EDIT_EVENTS") || $User->hasPermission($Calendar,"EDIT_OWN_EVENTS")) { %>
  • Edit/Delete Events : Edit or delete existing events <% } %> <% if ($User->hasPermission($Calendar,"CUSTOMIZE_EVENT_FIELDS")) { %>
  • Customize Event Fields : Modify the data fields that exist for each event, for example "Title" and "Description" <% } %> <% if ($User->hasPermission($Calendar,"APPROVE")) { %>
  • Approve Pending Events : View submitted events that are pending approval by an Administrator - <% if ($num_unapproved_events >= 0) { %><% } %> There <%= (($num_unapproved_events+1!=1)?"are":"is") %> currently <%=($num_unapproved_events+1)%> unapproved event<% if($num_unapproved_events+1!=1){%>s<%}%> <% if ($num_unapproved_events >= 0) { %><% } %> <% } %>
User Admin
  • Change Your Password <% } %> <% if ($User->hasPermission("_global","ADD_USER")) { %>
  • Add User : Add a User to the global User database <% } %> <% if ($User->hasPermission("_global","EDIT_USERS")) { %>
  • Edit/Delete Users : Edit or delete current Users in the database <% } %> <% if ($User->hasPermission("_global","PERMISSIONS") || $User->hasPermission($Calendar,"PERMISSIONS")) { %>
  • Modify User Permissions : Grant or deny permissions to administer this calendar to specific Users <% } %> <% if ($User->hasPermission("_global","CUSTOMIZE_USER_FIELDS")) { %>
  • Customize User Database : Modify the data fields that exist for each User, for example "Username" and "name" <% } %>
Calendar Options
    <% if ($User->hasPermission($Calendar,"CALENDAR_SETTINGS")) { %>
  • Calendar Settings : Change date format, month and day names, display options, etc <% } %>
Global Options
    <% } %> <% if ($User->hasPermission("_global","MANAGE_CALENDARS")) { %>
  • Manage Calendars : Add/Edit/Delete Calendars <% } %> <% if ($User->hasPermission("_global","ADMIN_SETTINGS")) { %>
  • Admin Interface : Customize the language and colors of this Admin interface <% } %> <% if ($User->hasPermission("_global","FEEDBACK")) { %>
  • Feedback/Support : Obtain support for this program and give feedback to the authors <% } %>