// 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);
// Is the loaded theme name != current theme name?
$LINK = $unix;
- if ($unix != GET_CURR_THEME()) $LINK = "<a href=\"{!URL!}/modules.php?module=admin&what=theme_edit&default_theme=".$unix."\" title=\"{!ADMIN_SET_AS_NEW_THEME!}\">".$unix."</a>";
+ if ($unix != GET_CURR_THEME()) $LINK = "<a href=\"{!URL!}/modules.php?module=admin&what=theme_edit&default_theme=".$unix."\" title=\"{--ADMIN_SET_AS_NEW_THEME--}\">".$unix."</a>";
// Prepare data for the row template
$content = array(