addMenuDescription('admin', __FILE__);
// Set selection data to empty array when it is empty
-if (!isPostRequestElementSet('sel')) setPostRequestElement('sel', array());
+if (!isPostRequestParameterSet('sel')) setPostRequestParameter('sel', array());
// Check if direct admin account was selected
-if (isGetRequestElementSet('admin')) {
+if (isGetRequestParameterSet('admin')) {
// Secure id number
- $adminId = bigintval(getRequestElement('admin'));
+ $adminId = bigintval(getRequestParameter('admin'));
// Set required fields
- setPostRequestElement('edit', 1);
- setPostRequestElement('sel', array($adminId => 1));
+ setPostRequestParameter('edit', 1);
+ setPostRequestParameter('sel', array($adminId => 1));
} // END - if
-if ((isPostRequestElementSet('edit')) && (countPostSelection() > 0)) {
+if ((isPostRequestParameterSet('edit')) && (countPostSelection() > 0)) {
// Edit account(s)
adminsEditAdminAccount(postRequestArray());
-} elseif ((isPostRequestElementSet('change')) && (count(postRequestElement('login')) > 0)) {
+} elseif ((isPostRequestParameterSet('change')) && (count(postRequestParameter('login')) > 0)) {
// Change admin accounts
adminsChangeAdminAccount(postRequestArray());
-} elseif ((isPostRequestElementSet('del')) && (countPostSelection() > 0)) {
+} elseif ((isPostRequestParameterSet('del')) && (countPostSelection() > 0)) {
// Show admin accounts for deletetion
adminsDeleteAdminAccount(postRequestArray());
} else {
- if ((isPostRequestElementSet('remove')) && (countPostSelection() > 0)) {
+ if ((isPostRequestParameterSet('remove')) && (countPostSelection() > 0)) {
// Remove accounts now
adminsRemoveAdminAccount(postRequestArray());
} // END - if