43 lines
1.0 KiB
PHP
43 lines
1.0 KiB
PHP
<?php
|
|
require_once("include/globals.php");
|
|
|
|
if (SessionActive() != 1 || ! UserLoggedIn()) {
|
|
header("Location: /");
|
|
exit();
|
|
}
|
|
|
|
|
|
//
|
|
// Process all actions to list and edit records
|
|
//
|
|
$naction = "";
|
|
|
|
$CurrentTable = "account_deposit_amounts";
|
|
$FormFile = "account_deposit_amounts.dialog.php";
|
|
$DialogWidth = 400;
|
|
$TitleText = getLanguageText('TEXT-ACCOUNT-DEPOSIT-AMOUNTS');
|
|
$SequenceFlag = 'N';
|
|
$tableAction = "deposit-amounts";
|
|
$RequiredFields = array('amount');
|
|
|
|
|
|
// 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();
|
|
|
|
?>
|