table.admintable { padding: 5px; border: 1px solid #000; background-color: #ccc; } td.admincell { padding: 20px; text-align: center; } td.admincell a { padding: 10px; width: 200px; text-align: center; background-color: #ccc; border-top: 1px solid #eee; border-left: 1px solid #eee; border-bottom: 1px solid #777; border-right: 1px solid #777; } td.admincell a:hover { padding: 10px; width: 200px; text-align: center; background-color: #aaa; border-top: 1px solid #777; border-left: 1px solid #777; border-bottom: 1px solid #eee; border-right: 1px solid #eee; } "; print_header('', $style); $names = array (); $links = array (); if ( $is_admin ) { $names[] = translate("System Settings"); $links[] = "admin.php"; } $names[] = translate("Preferences"); $links[] = "pref.php"; if ( $is_admin ) { $names[] = translate("Users"); $links[] = "users.php"; } else { $names[] = translate("Account"); $links[] = "edit_user.php"; } if ( $is_admin && ! empty ( $groups_enabled ) && $groups_enabled == 'Y' ) { $names[] = translate("Groups"); $links[] = "groups.php"; } if ( $single_user != 'Y' ) { $names[] = translate("Assistants"); $links[] = "assistant_edit.php"; } if ( $is_admin && $nonuser_enabled == 'Y' ) { $names[] = translate("NonUser Calendars"); $links[] = "nonusers.php"; } if ( $categories_enabled == 'Y' ) { $names[] = translate("Categories"); $links[] = "category.php"; } $names[] = translate("Views"); $links[] = "views.php"; $names[] = translate("Layers"); $links[] = "layers.php"; if ( $reports_enabled == 'Y' ) { $names[] = translate("Reports"); $links[] = "report.php"; } if ( $is_admin ) { $names[] = translate("Delete Events"); $links[] = "purge.php"; } if ( $is_admin ) { $names[] = translate("Activity Log"); $links[] = "activity_log.php"; } if ( $is_admin && ! empty ( $public_access ) && $public_access == 'Y' ) { $names[] = translate("Public Preferences"); $links[] = "pref.php?public=1"; } if ( ($is_moderator || $is_admin) && ! empty ( $public_access ) && $public_access == 'Y' && $public_access_can_add == 'Y' && $public_access_add_needs_approval == 'Y' ) { $names[] = translate("Unapproved Public Events"); $links[] = "list_unapproved.php?public=1"; } ?>
| "; if ( ! empty ( $links[$i] ) ) echo ""; echo $names[$i]; if ( ! empty ( $links[$i] ) ) echo ""; echo " | \n"; if ( $i % $COLUMNS == $COLUMNS - 1 ) echo "\n"; } if ( $i % $COLUMNS != 0 ) echo "\n"; ?>