s/School Access/School Home

This commit is contained in:
james 2010-06-16 17:50:12 +00:00
parent 8e8f9f7c3b
commit 4c56a33d7c
6 changed files with 9 additions and 9 deletions

View File

@ -44,7 +44,9 @@ send_footer();
// FIXME - this needs to be beautified
function draw_dashboard(){
send_header("School Access");
send_header("School Home",
array(),
"events_scheduling" );
global $config;
global $conference;
echo "<ul>\n";
@ -66,7 +68,7 @@ function draw_dashboard(){
}
function draw_login(){
send_header("School Access");
send_header("School Home");
global $errormsg, $happymsg, $config;
if($errormsg) echo "<font color=red><b>$errormsg</b></font>";
if($happymsg) echo happy($happymsg);

View File

@ -6,7 +6,7 @@ require_once('user.inc.php');
if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
{
$title = i18n("Feedback / Questions");
send_header($title, array("School Access" => "schoolaccess.php"));
send_header($title, array("School Home" => "schoolaccess.php"));
// load the school info
$q=mysql_query("SELECT * FROM schools WHERE id='".$_SESSION['schoolid']."' AND accesscode='".$_SESSION['schoolaccesscode']."' AND year='".$config['FAIRYEAR']."'");

View File

@ -6,7 +6,7 @@ require_once('user.inc.php');
if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
{
$title = i18n("School Information");
send_header($title, array("School Access" => "schoolaccess.php"));
send_header($title, array("School Home" => "schoolaccess.php"));
$q=mysql_query("SELECT * FROM schools WHERE id='".$_SESSION['schoolid']."' AND accesscode='".$_SESSION['schoolaccesscode']."' AND year='".$config['FAIRYEAR']."'");
echo mysql_error();

View File

@ -143,9 +143,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']){
else {
send_header("Event Registration",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php',
'Events & Scheduling' => 'admin/eventsscheduling.php'),
array('School Home' => 'schoolaccess.php'),
"events_scheduling" );
echo "<br />";
?>

View File

@ -21,7 +21,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'] && $conference['type']
}
}else{
$title = i18n("Manage Students");
send_header($title, array("School Access" => "schoolaccess.php"));
send_header($title, array("School Home" => "schoolaccess.php"));
draw_javascript();
draw_list();
send_footer();

View File

@ -70,7 +70,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'] && $conference['type']
function draw_page(){
global $conference;
$title = i18n("Manage Teams");
send_header($title, array("School Access" => "schoolaccess.php"));
send_header($title, array("School Home" => "schoolaccess.php"));
?>
<script type="text/javascript">
$(document).ready(function() {