]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_import.php
Way more usage of EL code:
[mailer.git] / inc / modules / admin / what-theme_import.php
index 0d6ad900376e53aaeb6e0c3707f6f9fc63b9f6d8..2208230b635056f8d12630c6786ab239afa99211 100644 (file)
@@ -76,14 +76,14 @@ VALUES ('%s','N','%s','%s')",
                        rebuildCache('themes', 'them');
 
                        // Prepare message
                        rebuildCache('themes', 'them');
 
                        // Prepare message
-                       $message = getMaskedMessage('ADMIN_THEME_IMPORTED', postRequestParameter('theme'));
+                       $message = '{%message,ADMIN_THEME_IMPORTED=' . postRequestParameter('theme') . '%}';
                } else {
                        // Include file not found
                } else {
                        // Include file not found
-                       $message = getMaskedMessage('ADMIN_THEME_INC_404', postRequestParameter('theme'));
+                       $message = '{%message,ADMIN_THEME_INC_404=' . postRequestParameter('theme') . '%}';
                }
        } else {
                // Theme already imported
                }
        } else {
                // Theme already imported
-               $message = getMaskedMessage('ADMIN_THEME_ALREADY_INSTALLED', postRequestParameter('theme'));
+               $message = '{%message,ADMIN_THEME_ALREADY_INSTALLED=' . postRequestParameter('theme') . '%}';
        }
 
        // Output message
        }
 
        // Output message
@@ -127,7 +127,7 @@ array_pk_sort($THEMES, array('theme_name'));
 $OUT = '';
 foreach ($THEMES['theme_unix'] as $key => $unix) {
        // Already installed is default
 $OUT = '';
 foreach ($THEMES['theme_unix'] as $key => $unix) {
        // Already installed is default
-       $formContent = '<div class="notice">' . getMaskedMessage('ADMIN_THEME_ALREADY_INSTALLED', $unix) . '</div>';
+       $formContent = '<div class="notice">{%message,ADMIN_THEME_ALREADY_INSTALLED=' . $unix . '%}</div>';
 
        // Check if current theme is already imported or not
        if (!ifThemeExists($unix)) {
 
        // Check if current theme is already imported or not
        if (!ifThemeExists($unix)) {