forked from science-ation/science-ation
s/School Access/School Home
This commit is contained in:
parent
8e8f9f7c3b
commit
4c56a33d7c
@ -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);
|
||||
|
@ -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']."'");
|
||||
|
@ -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();
|
||||
|
@ -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 />";
|
||||
?>
|
||||
|
@ -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();
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user