]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_admins.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / modules / admin / what-config_admins.php
index f09c25a149bd87d588a9b22c88d9f262bbd8e2e2..30525cfb7b1500ff30cb8e813c684eb556755114 100644 (file)
@@ -69,8 +69,8 @@ if ((REQUEST_ISSET_POST('edit')) && ($SEL > 0)) {
                                '/ARRAY/',
                                array('allow', 'deny'),
                                array(
-                                       constant('ADMINS_ALLOW_MODE'),
-                                       constant('ADMINS_DENY_MODE')
+                                       getMessage('ADMINS_ALLOW_MODE'),
+                                       getMessage('ADMINS_DENY_MODE')
                                ),
                                $mode
                        ),
@@ -126,7 +126,7 @@ if ((REQUEST_ISSET_POST('edit')) && ($SEL > 0)) {
                if (empty($wht)) $wht = '---';
 
                // Get admin mode
-               $mode = constant('ADMINS_'.strtoupper($mode).'_MODE');
+               $mode = getMessage('ADMINS_'.strtoupper($mode).'_MODE');
 
                // Generate link
                $admin = generateAdminLink($admin);
@@ -236,7 +236,7 @@ VALUES ('%s','%s','%s','%s')",
                        if (empty($content['what_menu']))   $content['what_menu']   = '---';
 
                        // Get mode
-                       $content['access_mode'] = constant('ADMINS_'.strtoupper($content['access_mode']).'_MODE');
+                       $content['access_mode'] = getMessage('ADMINS_'.strtoupper($content['access_mode']).'_MODE');
 
                        // Prepare data for the row template
                        $content = array(