First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
$ValidAccess = 2010;
|
||||
require_once("include/globals.php");
|
||||
|
||||
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
||||
header("Location: /");
|
||||
exit();
|
||||
}
|
||||
|
||||
// Ensure that only valid user types have access to this module
|
||||
$AllowedUserTypes = array('SuperUser','System Administrator','PAC');
|
||||
if (checkPermission($AllowedUserTypes) != 1) {
|
||||
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
|
||||
$action = '';
|
||||
$naction = '';
|
||||
header("Location: /?action=$action&naction=$naction$headerArgs&form_message=" . urlencode($form_message) . "&error_message=" . urlencode($error_message));
|
||||
exit();
|
||||
}
|
||||
|
||||
// Set default timezone
|
||||
date_default_timezone_set($school_record['timezone']);
|
||||
|
||||
// Set default message width
|
||||
$message_width = $default_popup_form_width;
|
||||
|
||||
// Set colour scheme
|
||||
$colourcss = $school_record['colour_scheme'];
|
||||
|
||||
// Set charset
|
||||
header('Content-type: text/html; charset=utf8');
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body{
|
||||
background: #ffffff;
|
||||
color: #000000;
|
||||
padding: 10;
|
||||
font: 12px Arial, Helvetica, sans-serif;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<link rel="stylesheet" href="css/master.css" type="text/css">
|
||||
<link rel="stylesheet" href="css/layout.css" type="text/css">
|
||||
<link rel="stylesheet" href="css/buttons.css" type="text/css">
|
||||
<link rel="stylesheet" href="css/<?php echo($colourcss) ?>" type="text/css">
|
||||
<link rel="stylesheet" href="css/Calendar.black.css" type="text/css">
|
||||
<link rel="stylesheet" href="css/calendar.css" type="text/css">
|
||||
<script language="JavaScript" SRC="include/utils.js"></script>
|
||||
<script language="JavaScript" SRC="include/javascript.js"></script>
|
||||
<script language="JavaScript" SRC="include/PopupWindow.js"></script>
|
||||
<script language="JavaScript" SRC="include/date.js"></script>
|
||||
<script language="JavaScript" SRC="include/AnchorPosition.js"></script>
|
||||
<script language="JavaScript" SRC="include/CalendarPopup.js"></script>
|
||||
<script language="JavaScript">document.write(getCalendarStyles());</script>
|
||||
<script language="JavaScript" ID="start">
|
||||
var cals = new CalendarPopup("calendar");
|
||||
cals.setCssPrefix("CAL");
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="include/wz_tooltip.js"></script>
|
||||
<?php
|
||||
include "$popupPage";
|
||||
?>
|
||||
<?php if (strlen($otipSpans)) { ?>
|
||||
<span class='hidden'>
|
||||
<?php echo($otipSpans) ?>
|
||||
</span>
|
||||
<?php } ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user