X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_admins.php;h=360ec7b2e5e3d9eddbca256c8931085599747f22;hp=f8b9eac5f08c043bcd0bfd12d7fc0a176fe93d23;hb=f2aeaab0cd313b2eeb151642455ed558f6b186dc;hpb=d2e5508023052562516f3e8526814609bda4d90f diff --git a/inc/modules/admin/what-config_admins.php b/inc/modules/admin/what-config_admins.php index f8b9eac5f0..360ec7b2e5 100644 --- a/inc/modules/admin/what-config_admins.php +++ b/inc/modules/admin/what-config_admins.php @@ -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] ?>