From 9fffa6755d457a50fa13b30e462d7442bb2888d9 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 12 Dec 2007 04:15:17 +0000 Subject: [PATCH] - Call them 'fair's not 'region's.. to assist linking fairs together. - This patch references some config variables that don't exist yet, that's ok, we dont' want anyone turning these on yet. --- admin/winners.php | 1 - common.inc.php | 43 +++++++++++++++++++------------------------ user.inc.php | 28 +++++++++++++++++++--------- user_login.php | 20 +++++++++++++++++++- 4 files changed, 57 insertions(+), 35 deletions(-) diff --git a/admin/winners.php b/admin/winners.php index 7caf2294..aada1fa9 100644 --- a/admin/winners.php +++ b/admin/winners.php @@ -36,7 +36,6 @@ - if($_GET['edit']) $edit=intval($_GET['edit']); if($_POST['edit']) $edit=intval($_POST['edit']); diff --git a/common.inc.php b/common.inc.php index 14de402e..1e8995a8 100644 --- a/common.inc.php +++ b/common.inc.php @@ -427,7 +427,7 @@ echo "
"; if(isset($_SESSION['users_type'])) { $types = array('volunteer' => 'Volunteer', 'judge' => 'Judge', 'student'=>'Participant','committee'=>'Committee Member', - 'region'=>'Region'); + 'fair'=>'Science Fair'); if($_SESSION['users_type'] != false) { echo i18n($types[$_SESSION['users_type']]); } @@ -497,20 +497,17 @@ echo "
"; -
  • -
  • - -
  • -".i18n("My Profile").''; + echo "
  • ".i18n("Fair Administration").'
  • '; + } + if(committee_auth_has_access("config")){ + echo "
  • ".i18n("SFIAB Configuration").'
  • '; + } -?>
  • ".i18n("Committee Logout").''; +} else { + echo "
  • ".i18n("Committee Login").'
  • '; } ?>
    @@ -518,18 +515,16 @@ else -
  • -
  • -".i18n("School Access").''; + echo "
  • ".i18n("School Logout")/'
  • '; +} else { + echo "
  • ".i18n("School Login").'
  • '; } -else -{ -?> -
  • ".i18n("{$config['fairs_name']} Fair Login").''; } -?> - +?>