]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin.php
Admin menu prepared for AJAX requests:
[mailer.git] / inc / modules / admin.php
index 518ed798387313497f067cb986f463ccfa188ae1..2aa70e1b6b2cff24506a8b93326e84001b2d3a0d 100644 (file)
@@ -361,7 +361,9 @@ if (!isAdminRegistered()) {
                                $area = 'entrance';
 
                                // Check for similar URL variable
-                               if (isGetRequestElementSet('area')) $area = getRequestElement('area');
+                               if (isGetRequestElementSet('area')) {
+                                       $area = getRequestElement('area');
+                               } // END - if
 
                                // Load logical-area menu-system file
                                loadIncludeOnce('inc/modules/admin/lasys-inc.php');
@@ -369,8 +371,10 @@ if (!isAdminRegistered()) {
                                // Create new-style menu system will logical areas
                                doAdminLogicalArea($area, $action, getWhat());
                        } else {
-                               // This little call constructs the whole default old and lacky menu system
-                               // on left side. It also renders the content on right side
+                               /*
+                                * This little call constructs the whole default old and lacky menu system
+                                * on left side. It also renders the content on right side
+                                */
                                doAdminAction();
                        }
                        break;