]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_country.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / admin / what-list_country.php
index d4f2fbdddc860486b7a26168d7a5f13e157c525d..43cda0efda8a51eedfd7b2d9ed3ae211b4e61e64 100644 (file)
@@ -87,16 +87,16 @@ if ((isFormSent('add')) && (isPostRequestParameterSet('code')) && (isPostRequest
                        $row    = 'admin_list_country_edit_row';
                        $post   = 'modify';
                        $class  = 'admin_submit';
-                       $submit = getMessage('ADMIN_COUNTRY_EDIT_NOW');
-                       $title  = getMessage('ADMIN_COUNTRY_EDIT_TITLE');
+                       $submit = '{--ADMIN_COUNTRY_EDIT_NOW--}';
+                       $title  = '{--ADMIN_COUNTRY_EDIT_TITLE--}';
                        $reset  = '<input type="reset" class="admin_reset" value="{--UNDO_SELECTIONS--}" /> ';
                } else {
                        // Delete template
                        $row    = 'admin_list_country_del_row';
                        $post   = 'remove';
                        $class  = 'admin_delete';
-                       $submit = getMessage('ADMIN_COUNTRY_DELETE_NOW');
-                       $title  = getMessage('ADMIN_COUNTRY_DELETE_TITLE');
+                       $submit = '{--ADMIN_COUNTRY_DELETE_NOW--}';
+                       $title  = '{--ADMIN_COUNTRY_DELETE_TITLE--}';
                        $reset  = '';
                }
 
@@ -156,14 +156,14 @@ if ((isFormSent('add')) && (isPostRequestParameterSet('code')) && (isPostRequest
                }
 
                // Create message
-               $message = getMessage('ADMIN_COUNTRIES_MODIFIED');
+               $message = '{--ADMIN_COUNTRIES_MODIFIED--}';
        } elseif ((isFormSent('remove')) && (isPostRequestParameterSet('id'))) {
                // Remove
                $IDs = implode(',', array_keys(postRequestParameter('id')));
                addSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_countries` WHERE `id` IN (".$IDs.") LIMIT ".count(postRequestParameter('id'))."");
 
                // Create message
-               $message = getMessage('ADMIN_COUNTRIES_REMOVED');
+               $message = '{--ADMIN_COUNTRIES_REMOVED--}';
        }
 
        if ((!empty($message)) && (countSqls() > 0)) {