First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
return;
|
||||
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','Communications Administrator','Administration Team','Schedule Team','Supplier');
|
||||
if (!in_array($_SESSION['UserInfo']['type'],$AllowedUserTypes)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Check that scriptName is set
|
||||
if (!isset($scriptName)) return;
|
||||
$scriptName = str_replace("/m/data1/app.hotlunches.net/","",$scriptName);
|
||||
|
||||
|
||||
// Get help text for this module
|
||||
echo("<!-- $scriptName -->\n");
|
||||
$args = "name=$scriptName&action=$action&naction=$naction";
|
||||
|
||||
// Display the help button
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function helpWindow() {
|
||||
var helpwin=dhtmlwindow.open("helpbox","iframe","help.view.php?<?php echo($args) ?>","On-Line Help","width=590px,height=350px,resize=1,scrolling=1,center=1");
|
||||
}
|
||||
</script>
|
||||
<a href='#' onClick='helpWindow(); return false;'><img src='images/help-black.gif' border='0' align='right'></a>
|
||||
Reference in new issue
Block a user