]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_admins.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-config_admins.php
index f8b9eac5f08c043bcd0bfd12d7fc0a176fe93d23..360ec7b2e5e3d9eddbca256c8931085599747f22 100644 (file)
@@ -119,7 +119,7 @@ if ((isFormSent('edit')) && (countPostSelection() > 0)) {
                if (empty($what)) $what = '---';
 
                // Get admin mode
-               $mode = getMessage('ADMINS_'.strtoupper($mode).'_MODE');
+               $mode = '{--ADMINS_' . strtoupper($mode) . '_MODE--}';
 
                // Generate link
                $admin = generateAdminLink($admin);
@@ -184,7 +184,7 @@ VALUES ('%s','%s','%s','%s')",
                                        postRequestParameter('what_menu'),
                                        postRequestParameter('mode')
                                ), __FILE__, __LINE__);
-                               $content = getMessage('ADMIN_ADMINS_ACL_SAVED');
+                               $content = '{--ADMIN_ADMINS_ACL_SAVED--}';
 
                                // Update cache when installed
                                if (isExtensionActive('cache')) {
@@ -192,18 +192,18 @@ VALUES ('%s','%s','%s','%s')",
                                } // END - if
                        } else {
                                // ACL does already exist!
-                               $content = getMessage('ADMIN_ADMINS_ACL_ALREADY_ADDED');
+                               $content = '{--ADMIN_ADMINS_ACL_ALREADY_ADDED--}';
                        }
 
                        // Free memory
                        SQL_FREERESULT($result);
                } else {
                        // No menu selected makes also no sence...
-                       $content = getMessage('ADMIN_ADMINS_SELECT_ACTION_WHAT');
+                       $content = '{--ADMIN_ADMINS_SELECT_ACTION_WHAT--}';
                }
        } else {
                // Same mode makes no sence...
-               $content = getMessage('ADMIN_ADMINS_SAME_MODE_SELECTED');
+               $content = '{--ADMIN_ADMINS_SAME_MODE_SELECTED--}';
        }
 
        // Display message
@@ -222,7 +222,7 @@ VALUES ('%s','%s','%s','%s')",
                        if (empty($content['what_menu']))   $content['what_menu']   = '---';
 
                        // Get mode
-                       $content['access_mode'] = getMessage('ADMINS_'.strtoupper($content['access_mode']).'_MODE');
+                       $content['access_mode'] = '{--ADMINS_' . strtoupper($content['access_mode']) . '_MODE--}';
 
                        // Prepare data for the row template
                        $content = array(
@@ -263,5 +263,5 @@ VALUES ('%s','%s','%s','%s')",
        loadTemplate('admin_admins_add_acl', false, $content);
 }
 
-//
+// [EOF]
 ?>