table.admin { padding: 5px; border: 1px solid #000000; "; if ( function_exists ("imagepng") && ( empty ($GLOBALS['enable_gradients']) || $GLOBALS['enable_gradients'] == 'Y' ) ) { $style .= " background-image: url(\"gradient.php?height=300&base=ccc&percent=10\");\n"; } else { $style .= " background-color: #CCCCCC;\n"; } $style .= " } table.admin td { padding: 20px; text-align: center; } .admin td a { padding: 10px; width: 200px; text-align: center; background-color: #CCCCCC; border-top: 1px solid #EEEEEE; border-left: 1px solid #EEEEEE; border-bottom: 1px solid #777777; border-right: 1px solid #777777; } .admin td a:hover { padding: 10px; width: 200px; text-align: center; background-color: #AAAAAA; border-top: 1px solid #777777; border-left: 1px solid #777777; border-bottom: 1px solid #EEEEEE; border-right: 1px solid #EEEEEE; } "; 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[] = "users.php"; } if ( $single_user != 'Y' ) { $names[] = translate("Assistants"); $links[] = "assistant_edit.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"; $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_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?user=__public__"; } ?>
| "; 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"; ?>