Put admin icons in the title of each page

This commit is contained in:
james 2008-08-22 20:50:38 +00:00
parent 32dfcda427
commit ca5515a335
18 changed files with 42 additions and 21 deletions

View File

@ -28,7 +28,8 @@
send_header("Awards",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php') );
'Administration' => 'admin/index.php'),
"awards_management" );
require_once("rerollprizes.php");

View File

@ -32,7 +32,8 @@
send_header("Website Content Manager",
array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php')
'Administration' => 'admin/index.php'),
"website_content_management"
);
if($_POST['action']=="save")

View File

@ -49,7 +49,8 @@ if($_POST['users_id'])
/* Now, start the output for this page */
send_header("Committee Management",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php' ));
'Administration' => 'admin/index.php' ),
"committee_management");
$_SESSION['last_page'] = 'committee_management';
?>

View File

@ -28,7 +28,8 @@
include "communication.inc.php";
send_header("Communication",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"communication"
);
echo "<br />";

View File

@ -120,7 +120,8 @@ include "xml.inc.php";
user_auth_required('committee', 'admin');
send_header("One-Click CWSF Registration",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"one-click_cwsf_registration"
);
echo "<br />";

View File

@ -34,7 +34,8 @@
user_auth_required('committee', 'admin');
send_header("Internal Document Manager",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"internal_document_management"
);
$editor=new TableEditor("documents",

View File

@ -28,7 +28,8 @@
send_header("Judges",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"judging_management"
);
echo "<br />";
echo '<b>'.i18n('Judges').'</b><ul>';

View File

@ -28,7 +28,8 @@
user_auth_required('committee', 'admin');
send_header("Registration Fee Items Manager",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"registration_fee_items_management"
);
$editor=new TableEditor("regfee_items",

View File

@ -27,7 +27,8 @@
user_auth_required('committee', 'admin');
send_header("Participant Registration",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"participant_registration"
);
echo "<br />";
echo "<a href=\"registration_receivedforms.php\">".i18n("Input Received Signature Forms")."</a> <br />";

View File

@ -99,7 +99,8 @@
//send the header
if($edit_mode == false) {
send_header("My Reports",
array("Committee Main" => "committee_main.php")
array("Committee Main" => "committee_main.php"),
"print/export_reports"
);
/* Send a greeting */
@ -111,7 +112,8 @@
} else {
send_header("Edit My Reports",
array("Committee Main" => "committee_main.php",
"My Reports" => "admin/reports.php")
"My Reports" => "admin/reports.php"),
"print/export_reports"
);
}

View File

@ -28,7 +28,8 @@
user_auth_required('committee', 'admin');
send_header("Award Ceremony Scripts",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"print_awards_ceremony_scripts"
);
echo "<br />";
echo "<form action=\"reports_acscript.php\" method=\"get\">";

View File

@ -167,7 +167,8 @@
send_header("Reports Editor",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"report_management"
);

View File

@ -100,7 +100,8 @@
send_header(($_GET['action']=='edit') ? "Edit School" : "Add New School",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php',
'School Management' => 'admin/schools.php')
'School Management' => 'admin/schools.php'),
"schools_management"
);
if($_GET['action']=="edit")
{
@ -193,7 +194,8 @@
{
send_header("School Management",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"schools_management"
);
switch($notice) {

View File

@ -28,7 +28,8 @@
send_header("Tours",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"tour_management"
);
echo "<a href=\"tours_manager.php\">".i18n("Manage Tours")."</a> ".i18n("- Add, Delete, Edit, and List tours")."<br />";
echo "<a href=\"tours_assignments.php\">".i18n("Edit Student-Tour Assignments")."</a><br />";

View File

@ -28,7 +28,8 @@
send_header("Translations",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"translations_management"
);
//by default, we will edit the french translations

View File

@ -28,7 +28,8 @@
send_header("Volunteer Management",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"volunteer_management"
);
echo "<br />";
if($config['volunteer_registration_type']=="invite")

View File

@ -86,7 +86,8 @@ if($action=="edit" && $edit)
send_header("Choose Projects",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php',
'Enter Winning Projects' => 'admin/winners.php')
'Enter Winning Projects' => 'admin/winners.php'),
"enter_winning_projects"
);
switch($notice) {
@ -252,7 +253,8 @@ else
{
send_header("Enter Winning Projects",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"enter_winning_projects"
);
switch($notice) {

View File

@ -28,7 +28,8 @@
send_header("YSF Regional Affiliation Stats",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php')
'Administration' => 'admin/index.php'),
"one-click_ysf_affiliation_stats"
);
echo "<br />";