]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_edit.php
More language constants rewritten ({--LANGUAGE--} is for constants)
[mailer.git] / inc / modules / admin / what-theme_edit.php
index 47d341b66f8237e8bb610b3a73f3462dbf4daa69..58899f1cdd1e88ba771d13a8f9af14c5fc07da8b 100644 (file)
@@ -87,7 +87,7 @@ if ($SEL > 0) {
        // Set it in config and current theme as well
        global $currTheme;
        $currTheme = $POST['default_theme'];
-       $_CONFIG['default_theme'] = $POST['default_theme'];
+       setConfigEntry('default_theme', $POST['default_theme']);
 
        // Save theme
        ADMIN_SAVE_SETTINGS($POST);
@@ -111,7 +111,7 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Is the loaded theme name != current theme name?
                $LINK = $unix;
-               if ($unix != GET_CURR_THEME()) $LINK = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=theme_edit&amp;default_theme=".$unix."\" title=\"{!ADMIN_SET_AS_NEW_THEME!}\">".$unix."</a>";
+               if ($unix != GET_CURR_THEME()) $LINK = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=theme_edit&amp;default_theme=".$unix."\" title=\"{--ADMIN_SET_AS_NEW_THEME--}\">".$unix."</a>";
 
                // Prepare data for the row template
                $content = array(