First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
require_once("include/globals.php");
|
||||
|
||||
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
||||
header("Location: /");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Process all actions to list and edit records
|
||||
//
|
||||
$naction = "";
|
||||
|
||||
$CurrentTable = "class_programs";
|
||||
$FormFile = "class_programs.dialog.php";
|
||||
$DialogWidth = 400;
|
||||
$TitleText = getLanguageText('TEXT-CLASS-PROGRAMS');
|
||||
$SequenceFlag = 'Y';
|
||||
$tableAction = "class-programs";
|
||||
$RequiredFields = array('program_name');
|
||||
|
||||
|
||||
// Start the template and output buffering
|
||||
startTemplate();
|
||||
$templatePageTitle = getLanguageText('TEXT-CLASS-PROGRAMS-ADMIN');
|
||||
|
||||
|
||||
// Ensure that only valid user types have access to this module
|
||||
$AllowedUserTypes = array('SuperUser','System Administrator','Application Administrator','Communications Administrator');
|
||||
if (checkPermission($AllowedUserTypes) != 1) {
|
||||
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
|
||||
include "form.messages.php";
|
||||
endTemplate();
|
||||
exit();
|
||||
}
|
||||
|
||||
include "form.js.php";
|
||||
|
||||
endTemplate();
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user