]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-adminedit.php
XML parser introduced, ext-surfbar rewritten, more EL code:
[mailer.git] / inc / modules / admin / what-adminedit.php
index 05290a1e3bf690fd9ef0de270d1ba4dc467931f9..b1fb3347d8fc18f37a7c3077bd8566dece690311 100644 (file)
@@ -181,15 +181,15 @@ LIMIT 1",
 
                default: // Unexpected action
                        logDebugMessage(__FILE__, __LINE__, sprintf("Unsupported action %s detected.", postRequestParameter('ok')));
-                       displayMessage(getMaskedMessage('ADMIN_UNKNOWN_OKAY', postRequestParameter('ok')));
+                       displayMessage('{%message,ADMIN_UNKNOWN_OKAY=' . postRequestParameter('ok') . '%}');
                        break;
-       }
+       } // END - switch
 } else {
        // Handle weightning
        doAdminProcessMenuWeightning('admin', $AND);
 
        // Run SQL
-       $result = SQL_QUERY("SELECT id, action, what, title, sort FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." ORDER BY `sort` ASC", __FILE__, __LINE__);
+       $result = SQL_QUERY("SELECT `id`, `action`, `what`, `title`, `sort` FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." ORDER BY `sort` ASC", __FILE__, __LINE__);
 
        // Do we have entries?
        if (!SQL_HASZERONUMS($result)) {
@@ -197,7 +197,8 @@ LIMIT 1",
                $content['sub'] = $SUB;
 
                // Init variables
-               $OUT = ''; $count = '0';
+               $OUT = '';
+               $count = '0';
 
                // Process all entries
                while ($data = SQL_FETCHARRAY($result)) {