Files
2026-10-19 15:22:52 -07:00

45 lines
1.1 KiB
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
//
// Process all actions to list and edit records
//
$CurrentTable = "classes";
$FormFile = "locations.dialog.php";
$DialogWidth = 600;
$TitleText = getLanguageText('TEXT-DELIVERY-LOCATIONS');
$SequenceFlag = 'Y';
$tableAction = "locations-list";
$RequiredFields = array('description','label_description');
$FieldDefaultValues = array(
'entry_type' => 'Location',
);
// Start the template and output buffering
startTemplate();
$templatePageTitle = getLanguageText('TEXT-DELIVERY-LOCATIONS');
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser','System Administrator','Application Administrator','Administration Team','Communications Administrator');
if (checkPermission($AllowedUserTypes) != 1) {
$error_message = getLanguageText('ERRORMSG-ACCESS-DENIED');
include "form.messages.php";
endTemplate();
exit();
}
include "form.js.php";
endTemplate();
?>