X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admins_edit.php;h=4a638719c96f01766b712fcbceeabeb1b11c9456;hb=dd7c9bf86a74049e3ca0c4df7dcddf48e33950d5;hp=e0528331ae3be7fd0ed6ab9b7a8c913767d25495;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361;p=mailer.git diff --git a/inc/modules/admin/what-admins_edit.php b/inc/modules/admin/what-admins_edit.php index e0528331ae..4a638719c9 100644 --- a/inc/modules/admin/what-admins_edit.php +++ b/inc/modules/admin/what-admins_edit.php @@ -1,7 +1,7 @@ 1)); } // END - if -if ((REQUEST_ISSET_POST('edit')) && (countPostSelection() > 0)) { +if ((isPostRequestElementSet('edit')) && (countPostSelection() > 0)) { // Edit account(s) - adminsEditAdminAccount(REQUEST_POST_ARRAY()); -} elseif ((REQUEST_ISSET_POST('change')) && (count(REQUEST_POST('login')) > 0)) { + adminsEditAdminAccount(postRequestArray()); +} elseif ((isPostRequestElementSet('change')) && (count(postRequestElement('login')) > 0)) { // Change admin accounts - adminsChangeAdminAccount(REQUEST_POST_ARRAY()); -} elseif ((REQUEST_ISSET_POST('del')) && (countPostSelection() > 0)) { + adminsChangeAdminAccount(postRequestArray()); +} elseif ((isPostRequestElementSet('del')) && (countPostSelection() > 0)) { // Show admin accounts for deletetion - adminsDeleteAdminAccount(REQUEST_POST_ARRAY()); + adminsDeleteAdminAccount(postRequestArray()); } else { - if ((REQUEST_ISSET_POST('remove')) && (countPostSelection() > 0)) { + if ((isPostRequestElementSet('remove')) && (countPostSelection() > 0)) { // Remove accounts now - adminsRemoveAdminAccount(REQUEST_POST_ARRAY()); + adminsRemoveAdminAccount(postRequestArray()); } // END - if // List all admin accounts adminsListAdminAccounts(); } -// +// [EOF] ?>