First Commit

This commit is contained in:
mark committed 2026-10-19 15:22:52 -07:00
1 parent 5eb9dd037d
commit 2e62c0e60b
11877 files changed
+2035312

No files matched your search

+76
View File
@@ -0,0 +1,76 @@
<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
$CurrentTable = "student_categories";
$FormFile = "student-categories.dialog.php";
$JQueryFile = "student-categories.js.php";
$DialogWidth = 400;
$TitleText = getLanguageText('TEXT-STUDENT-CATEGORIES');
$SequenceFlag = 'Y';
$tableAction = "student-categories";
$RequiredFields = array('category');
// Start the template and output buffering
startTemplate();
$templatePageTitle = getLanguageText('TEXT-STUDENT-CATEGORIES');
$headerArgs = "";
// Ensure that only valid user types have access to this module
$AllowedUserTypes = array('SuperUser','System Administrator');
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();
}
include "form.js.php";
?>
<script>
$(document).ready(function() {
<?php include "include/ajax.Setup.php" ?>
$(document).on('click touch', '.view-details', function(e) {
e.preventDefault();
var rnum = $(this).attr('rnum');
alert(rnum);
});
});
</script>
<div id='info-dialog' title="<?php displayLanguageText('TEXT-INFORMATION'); ?>">
<center>
<div id='member-students-div'></div>
<br>
<table width='100%'>
<tr>
<td align='center' style='background-color: #e0e0e0; height: 25px;'>
<button id='closeInfoDialogBtn' class='btn btn--outline btn--small'> <?php displayLanguageText('TEXT-CLOSE-WINDOW'); ?> </button>
</td>
</tr>
</table>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
</center>
</div>
<?php
endTemplate();
?>