]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_admins_acls.php
Admin menu has now a JavaScript "effect":
[mailer.git] / inc / modules / admin / what-list_admins_acls.php
index 65c605e1b348cd2a28fda0806b2cd288ad2c3dbf..559223c08f1924c5741bd9cca81a07c35ace54ba 100644 (file)
@@ -92,7 +92,7 @@ LIMIT 1",
                                postRequestElement('admin', $id),
                                postRequestElement('action_menu', $id),
                                postRequestElement('what_menu', $id),
-                               postRequestElement('mode', $id),
+                               postRequestElement('access_mode', $id),
                                $id
                        ),__FILE__, __LINE__);
        } // END - foreach
@@ -150,7 +150,7 @@ LIMIT 1",
                $ACL = isAdminsAllowedByAcl(getActionFromModuleWhat('admin', postRequestElement('what_menu')), '');
        } // END - if
 
-       if (($mode != postRequestElement('mode')) || (($ACL === true) && (postRequestElement('mode') == 'deny'))) {
+       if (($mode != postRequestElement('do')) || (($ACL === true) && (postRequestElement('do') == 'deny'))) {
                // Mode is fine
                $BOTH = ((isPostRequestElementSet('action_menu')) && (isPostRequestElementSet('what_menu')) && (postRequestElement('action_menu') != '') && (postRequestElement('what_menu') != ''));
 
@@ -171,7 +171,7 @@ VALUES (%s,'%s','%s','%s')",
                                        bigintval(postRequestElement('admin_id')),
                                        postRequestElement('action_menu'),
                                        postRequestElement('what_menu'),
-                                       postRequestElement('mode')
+                                       postRequestElement('do')
                                ), __FILE__, __LINE__);
                                $content = '{--ADMIN_ADMINS_ACL_SAVED--}';