From e2b8bf21a5d12fa77aafd859cfa3f96975b0e5f6 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 22 Aug 2008 20:34:38 +0000 Subject: [PATCH] Put the icon on each page --- config/award_sources.php | 5 +++-- config/categories.php | 4 ++-- config/dates.php | 1 + config/divisions.php | 6 ++++-- config/divisions_cwsf.php | 1 + config/images.php | 3 ++- config/judges_questions.php | 1 + config/languagepacks.php | 1 + config/pagetexts.php | 1 + config/rollover.php | 1 + config/safetyquestions.php | 1 + config/signaturepage.php | 1 + config/subdivisions.php | 6 ++++-- config/variables.php | 3 ++- config/versionchecker.php | 1 + 15 files changed, 26 insertions(+), 10 deletions(-) diff --git a/config/award_sources.php b/config/award_sources.php index c7602db..b2ee502 100644 --- a/config/award_sources.php +++ b/config/award_sources.php @@ -27,8 +27,9 @@ user_auth_required('committee', 'config'); 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", diff --git a/config/categories.php b/config/categories.php index 903978b..a95cfda 100644 --- a/config/categories.php +++ b/config/categories.php @@ -30,11 +30,11 @@ send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category', array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php', - 'Age Categories' => 'config/categories.php')); + 'Age Categories' => 'config/categories.php'),"project_age_categories"); } else { send_header("Age Categories", array('Committee Main' => 'committee_main.php', - 'SFIAB Configuration' => 'config/index.php')); + 'SFIAB Configuration' => 'config/index.php'),"project_age_categories"); } if($_POST['action']=="edit") diff --git a/config/dates.php b/config/dates.php index 25a4aaf..deb9692 100644 --- a/config/dates.php +++ b/config/dates.php @@ -28,6 +28,7 @@ send_header("Dates", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"important_dates" ); $error_ids = array(); diff --git a/config/divisions.php b/config/divisions.php index aee0354..5f28b8f 100644 --- a/config/divisions.php +++ b/config/divisions.php @@ -30,11 +30,13 @@ if($_GET['action']=="edit" || $_GET['action']=="new") { send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php', - 'Project Divisions' => 'config/divisions.php') ); + 'Project Divisions' => 'config/divisions.php'), + "project_divisions" ); } else { send_header("Project Divisions", array('Committee Main' => 'committee_main.php', - 'SFIAB Configuration' => 'config/index.php')); + 'SFIAB Configuration' => 'config/index.php'), + "project_divisions"); } diff --git a/config/divisions_cwsf.php b/config/divisions_cwsf.php index a3b8516..d6110c0 100644 --- a/config/divisions_cwsf.php +++ b/config/divisions_cwsf.php @@ -28,6 +28,7 @@ send_header("CWSF Project Divisions", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"cwsf_project_divisions" ); if(count($_POST['cwsfdivision'])) diff --git a/config/images.php b/config/images.php index ed3a115..669d38c 100644 --- a/config/images.php +++ b/config/images.php @@ -27,7 +27,8 @@ user_auth_required('committee', 'config'); send_header("Fair Logo Image", array('Committee Main' => 'committee_main.php', - 'SFIAB Configuration' => 'config/index.php')); + 'SFIAB Configuration' => 'config/index.php'), + "images"); if($_POST['action']=="addimage") { diff --git a/config/judges_questions.php b/config/judges_questions.php index f9993fc..2b57b08 100644 --- a/config/judges_questions.php +++ b/config/judges_questions.php @@ -29,6 +29,7 @@ send_header("Judge Registration Questions", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"judge_registration_questions" ); questions_editor('judgereg', $config['FAIRYEAR'], 'question', diff --git a/config/languagepacks.php b/config/languagepacks.php index 750cc97..ada2997 100644 --- a/config/languagepacks.php +++ b/config/languagepacks.php @@ -28,6 +28,7 @@ send_header("Language Packs", array('Committee Main' => 'committee_main.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"); diff --git a/config/pagetexts.php b/config/pagetexts.php index 101a295..a97c540 100644 --- a/config/pagetexts.php +++ b/config/pagetexts.php @@ -34,6 +34,7 @@ send_header("Page Texts", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"page_texts" ); $q=mysql_query("SELECT * FROM pagetext WHERE year='-1' ORDER BY textname"); diff --git a/config/rollover.php b/config/rollover.php index 360e0b9..35667c9 100644 --- a/config/rollover.php +++ b/config/rollover.php @@ -29,6 +29,7 @@ send_header("Year Rollover", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"rollover_fair_year" ); ?> diff --git a/config/safetyquestions.php b/config/safetyquestions.php index 27e5027..438f82b 100644 --- a/config/safetyquestions.php +++ b/config/safetyquestions.php @@ -28,6 +28,7 @@ send_header("Safety Questions", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"project_safety_questions" ); if($_POST['action']=="save" && $_POST['save']) { diff --git a/config/signaturepage.php b/config/signaturepage.php index e2f0de1..fc73a93 100644 --- a/config/signaturepage.php +++ b/config/signaturepage.php @@ -28,6 +28,7 @@ send_header("Signature Page", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"exhibitor_signature_page" ); if($_POST['action']=="save") diff --git a/config/subdivisions.php b/config/subdivisions.php index 7b293bf..441d9fc 100644 --- a/config/subdivisions.php +++ b/config/subdivisions.php @@ -29,11 +29,13 @@ send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php', - 'Project Sub-Divisions' => 'config/subdivisions.php')); + 'Project Sub-Divisions' => 'config/subdivisions.php'), + "project_sub_divisions"); } else { send_header("Project Sub-Divisions", array('Committee Main' => 'committee_main.php', - 'SFIAB Configuration' => 'config/index.php')); + 'SFIAB Configuration' => 'config/index.php'), + "project_sub_divisions"); } if($_POST['action']=="edit") diff --git a/config/variables.php b/config/variables.php index c8531f6..bde0cdc 100644 --- a/config/variables.php +++ b/config/variables.php @@ -26,9 +26,10 @@ require_once("../user.inc.php"); require_once("../config_editor.inc.php"); user_auth_required('committee', 'config'); - send_header("Variables", + send_header("Configuration Variables", array('Committee Main' => 'committee_main.php', 'SFIAB Configuration' => 'config/index.php') + ,"configuration_variables" ); $q=mysql_query("SELECT * FROM config WHERE year='-1'"); diff --git a/config/versionchecker.php b/config/versionchecker.php index 05a5207..f500e27 100644 --- a/config/versionchecker.php +++ b/config/versionchecker.php @@ -28,6 +28,7 @@ send_header("Version Checker", array('Committee Main' => 'committee_main.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");