Way more usage of EL code:
[mailer.git] / inc / modules / admin / what-theme_import.php
index 0d6ad90..2208230 100644 (file)
@@ -76,14 +76,14 @@ VALUES ('%s','N','%s','%s')",
                        rebuildCache('themes', 'them');
 
                        // Prepare message
-                       $message = getMaskedMessage('ADMIN_THEME_IMPORTED', postRequestParameter('theme'));
+                       $message = '{%message,ADMIN_THEME_IMPORTED=' . postRequestParameter('theme') . '%}';
                } 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
-               $message = getMaskedMessage('ADMIN_THEME_ALREADY_INSTALLED', postRequestParameter('theme'));
+               $message = '{%message,ADMIN_THEME_ALREADY_INSTALLED=' . postRequestParameter('theme') . '%}';
        }
 
        // 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
-       $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)) {