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").''; } -?> - +?>