Put the icon on each page

This commit is contained in:
james 2008-08-22 20:34:38 +00:00
parent 4f6749d5da
commit e2b8bf21a5
15 changed files with 26 additions and 10 deletions

View File

@ -27,8 +27,9 @@
user_auth_required('committee', 'config'); user_auth_required('committee', 'config');
send_header("External Award Sources Manager", send_header("External Award Sources Manager",
array("SFIAB Configuration" => "config/") array('Committee Main' => 'committee_main.php',
); 'SFIAB Configuration' => 'config/index.php'),
"external_award_sources");
$editor=new TableEditor("award_sources", $editor=new TableEditor("award_sources",

View File

@ -30,11 +30,11 @@
send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category', send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category',
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php', 'SFIAB Configuration' => 'config/index.php',
'Age Categories' => 'config/categories.php')); 'Age Categories' => 'config/categories.php'),"project_age_categories");
} else { } else {
send_header("Age Categories", send_header("Age Categories",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php')); 'SFIAB Configuration' => 'config/index.php'),"project_age_categories");
} }
if($_POST['action']=="edit") if($_POST['action']=="edit")

View File

@ -28,6 +28,7 @@
send_header("Dates", send_header("Dates",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"important_dates"
); );
$error_ids = array(); $error_ids = array();

View File

@ -30,11 +30,13 @@ if($_GET['action']=="edit" || $_GET['action']=="new") {
send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division", send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php', 'SFIAB Configuration' => 'config/index.php',
'Project Divisions' => 'config/divisions.php') ); 'Project Divisions' => 'config/divisions.php'),
"project_divisions" );
} else { } else {
send_header("Project Divisions", send_header("Project Divisions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php')); 'SFIAB Configuration' => 'config/index.php'),
"project_divisions");
} }

View File

@ -28,6 +28,7 @@
send_header("CWSF Project Divisions", send_header("CWSF Project Divisions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"cwsf_project_divisions"
); );
if(count($_POST['cwsfdivision'])) if(count($_POST['cwsfdivision']))

View File

@ -27,7 +27,8 @@
user_auth_required('committee', 'config'); user_auth_required('committee', 'config');
send_header("Fair Logo Image", send_header("Fair Logo Image",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php')); 'SFIAB Configuration' => 'config/index.php'),
"images");
if($_POST['action']=="addimage") if($_POST['action']=="addimage")
{ {

View File

@ -29,6 +29,7 @@
send_header("Judge Registration Questions", send_header("Judge Registration Questions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"judge_registration_questions"
); );
questions_editor('judgereg', $config['FAIRYEAR'], 'question', questions_editor('judgereg', $config['FAIRYEAR'], 'question',

View File

@ -28,6 +28,7 @@
send_header("Language Packs", send_header("Language Packs",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"language_pack_installer"
); );
echo i18n("Checking for language packs will access a remote server, if you wish to continue click the 'Check for available language packs' link below"); echo i18n("Checking for language packs will access a remote server, if you wish to continue click the 'Check for available language packs' link below");

View File

@ -34,6 +34,7 @@
send_header("Page Texts", send_header("Page Texts",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"page_texts"
); );
$q=mysql_query("SELECT * FROM pagetext WHERE year='-1' ORDER BY textname"); $q=mysql_query("SELECT * FROM pagetext WHERE year='-1' ORDER BY textname");

View File

@ -29,6 +29,7 @@
send_header("Year Rollover", send_header("Year Rollover",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"rollover_fair_year"
); );
?> ?>

View File

@ -28,6 +28,7 @@
send_header("Safety Questions", send_header("Safety Questions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"project_safety_questions"
); );
if($_POST['action']=="save" && $_POST['save']) if($_POST['action']=="save" && $_POST['save'])
{ {

View File

@ -28,6 +28,7 @@
send_header("Signature Page", send_header("Signature Page",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"exhibitor_signature_page"
); );
if($_POST['action']=="save") if($_POST['action']=="save")

View File

@ -29,11 +29,13 @@
send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division", send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php', 'SFIAB Configuration' => 'config/index.php',
'Project Sub-Divisions' => 'config/subdivisions.php')); 'Project Sub-Divisions' => 'config/subdivisions.php'),
"project_sub_divisions");
} else { } else {
send_header("Project Sub-Divisions", send_header("Project Sub-Divisions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php')); 'SFIAB Configuration' => 'config/index.php'),
"project_sub_divisions");
} }
if($_POST['action']=="edit") if($_POST['action']=="edit")

View File

@ -26,9 +26,10 @@
require_once("../user.inc.php"); require_once("../user.inc.php");
require_once("../config_editor.inc.php"); require_once("../config_editor.inc.php");
user_auth_required('committee', 'config'); user_auth_required('committee', 'config');
send_header("Variables", send_header("Configuration Variables",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"configuration_variables"
); );
$q=mysql_query("SELECT * FROM config WHERE year='-1'"); $q=mysql_query("SELECT * FROM config WHERE year='-1'");

View File

@ -28,6 +28,7 @@
send_header("Version Checker", send_header("Version Checker",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')
,"new_version_checker"
); );
echo i18n("Checking for new versions will access a remote server, if you wish to continue click the 'Check for new versions' link below"); echo i18n("Checking for new versions will access a remote server, if you wish to continue click the 'Check for new versions' link below");