forked from science-ation/science-ation
Put admin icons in the title of each page
This commit is contained in:
parent
32dfcda427
commit
ca5515a335
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
send_header("Awards",
|
send_header("Awards",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php') );
|
'Administration' => 'admin/index.php'),
|
||||||
|
"awards_management" );
|
||||||
|
|
||||||
require_once("rerollprizes.php");
|
require_once("rerollprizes.php");
|
||||||
|
|
||||||
|
@ -32,7 +32,8 @@
|
|||||||
|
|
||||||
send_header("Website Content Manager",
|
send_header("Website Content Manager",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'SFIAB Configuration' => 'config/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"website_content_management"
|
||||||
);
|
);
|
||||||
|
|
||||||
if($_POST['action']=="save")
|
if($_POST['action']=="save")
|
||||||
|
@ -49,7 +49,8 @@ if($_POST['users_id'])
|
|||||||
/* Now, start the output for this page */
|
/* Now, start the output for this page */
|
||||||
send_header("Committee Management",
|
send_header("Committee Management",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php' ));
|
'Administration' => 'admin/index.php' ),
|
||||||
|
"committee_management");
|
||||||
|
|
||||||
$_SESSION['last_page'] = 'committee_management';
|
$_SESSION['last_page'] = 'committee_management';
|
||||||
?>
|
?>
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
include "communication.inc.php";
|
include "communication.inc.php";
|
||||||
send_header("Communication",
|
send_header("Communication",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"communication"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
|
|
||||||
|
@ -120,7 +120,8 @@ include "xml.inc.php";
|
|||||||
user_auth_required('committee', 'admin');
|
user_auth_required('committee', 'admin');
|
||||||
send_header("One-Click CWSF Registration",
|
send_header("One-Click CWSF Registration",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"one-click_cwsf_registration"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
|
|
||||||
|
@ -34,7 +34,8 @@
|
|||||||
user_auth_required('committee', 'admin');
|
user_auth_required('committee', 'admin');
|
||||||
send_header("Internal Document Manager",
|
send_header("Internal Document Manager",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"internal_document_management"
|
||||||
);
|
);
|
||||||
|
|
||||||
$editor=new TableEditor("documents",
|
$editor=new TableEditor("documents",
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
send_header("Judges",
|
send_header("Judges",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"judging_management"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo '<b>'.i18n('Judges').'</b><ul>';
|
echo '<b>'.i18n('Judges').'</b><ul>';
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
user_auth_required('committee', 'admin');
|
user_auth_required('committee', 'admin');
|
||||||
send_header("Registration Fee Items Manager",
|
send_header("Registration Fee Items Manager",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"registration_fee_items_management"
|
||||||
);
|
);
|
||||||
|
|
||||||
$editor=new TableEditor("regfee_items",
|
$editor=new TableEditor("regfee_items",
|
||||||
|
@ -27,7 +27,8 @@
|
|||||||
user_auth_required('committee', 'admin');
|
user_auth_required('committee', 'admin');
|
||||||
send_header("Participant Registration",
|
send_header("Participant Registration",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"participant_registration"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo "<a href=\"registration_receivedforms.php\">".i18n("Input Received Signature Forms")."</a> <br />";
|
echo "<a href=\"registration_receivedforms.php\">".i18n("Input Received Signature Forms")."</a> <br />";
|
||||||
|
@ -99,7 +99,8 @@
|
|||||||
//send the header
|
//send the header
|
||||||
if($edit_mode == false) {
|
if($edit_mode == false) {
|
||||||
send_header("My Reports",
|
send_header("My Reports",
|
||||||
array("Committee Main" => "committee_main.php")
|
array("Committee Main" => "committee_main.php"),
|
||||||
|
"print/export_reports"
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Send a greeting */
|
/* Send a greeting */
|
||||||
@ -111,7 +112,8 @@
|
|||||||
} else {
|
} else {
|
||||||
send_header("Edit My Reports",
|
send_header("Edit My Reports",
|
||||||
array("Committee Main" => "committee_main.php",
|
array("Committee Main" => "committee_main.php",
|
||||||
"My Reports" => "admin/reports.php")
|
"My Reports" => "admin/reports.php"),
|
||||||
|
"print/export_reports"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
user_auth_required('committee', 'admin');
|
user_auth_required('committee', 'admin');
|
||||||
send_header("Award Ceremony Scripts",
|
send_header("Award Ceremony Scripts",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"print_awards_ceremony_scripts"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
echo "<form action=\"reports_acscript.php\" method=\"get\">";
|
echo "<form action=\"reports_acscript.php\" method=\"get\">";
|
||||||
|
@ -167,7 +167,8 @@
|
|||||||
|
|
||||||
send_header("Reports Editor",
|
send_header("Reports Editor",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"report_management"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -100,7 +100,8 @@
|
|||||||
send_header(($_GET['action']=='edit') ? "Edit School" : "Add New School",
|
send_header(($_GET['action']=='edit') ? "Edit School" : "Add New School",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php',
|
'Administration' => 'admin/index.php',
|
||||||
'School Management' => 'admin/schools.php')
|
'School Management' => 'admin/schools.php'),
|
||||||
|
"schools_management"
|
||||||
);
|
);
|
||||||
if($_GET['action']=="edit")
|
if($_GET['action']=="edit")
|
||||||
{
|
{
|
||||||
@ -193,7 +194,8 @@
|
|||||||
{
|
{
|
||||||
send_header("School Management",
|
send_header("School Management",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"schools_management"
|
||||||
);
|
);
|
||||||
|
|
||||||
switch($notice) {
|
switch($notice) {
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
send_header("Tours",
|
send_header("Tours",
|
||||||
array('Committee Main' => 'committee_main.php',
|
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_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 />";
|
echo "<a href=\"tours_assignments.php\">".i18n("Edit Student-Tour Assignments")."</a><br />";
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
send_header("Translations",
|
send_header("Translations",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"translations_management"
|
||||||
);
|
);
|
||||||
|
|
||||||
//by default, we will edit the french translations
|
//by default, we will edit the french translations
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
send_header("Volunteer Management",
|
send_header("Volunteer Management",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"volunteer_management"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
if($config['volunteer_registration_type']=="invite")
|
if($config['volunteer_registration_type']=="invite")
|
||||||
|
@ -86,7 +86,8 @@ if($action=="edit" && $edit)
|
|||||||
send_header("Choose Projects",
|
send_header("Choose Projects",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php',
|
'Administration' => 'admin/index.php',
|
||||||
'Enter Winning Projects' => 'admin/winners.php')
|
'Enter Winning Projects' => 'admin/winners.php'),
|
||||||
|
"enter_winning_projects"
|
||||||
);
|
);
|
||||||
|
|
||||||
switch($notice) {
|
switch($notice) {
|
||||||
@ -252,7 +253,8 @@ else
|
|||||||
{
|
{
|
||||||
send_header("Enter Winning Projects",
|
send_header("Enter Winning Projects",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"enter_winning_projects"
|
||||||
);
|
);
|
||||||
|
|
||||||
switch($notice) {
|
switch($notice) {
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
send_header("YSF Regional Affiliation Stats",
|
send_header("YSF Regional Affiliation Stats",
|
||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php')
|
'Administration' => 'admin/index.php'),
|
||||||
|
"one-click_ysf_affiliation_stats"
|
||||||
);
|
);
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user