// Construct selection form for the box template
$OUT = "";
foreach ($THEMES['theme_unix'] as $key => $theme) {
- $OUT .= " <OPTION value=\"".$theme."\"";
+ $OUT .= " <option value=\"".$theme."\"";
if ($theme == GET_CURR_THEME()) $OUT .= " selected=\"selected\"";
- $OUT .= ">".$THEMES['theme_name'][$key]."</OPTION>\n";
+ $OUT .= ">".$THEMES['theme_name'][$key]."</option>\n";
} // END - foreach
// Return generated selection
// Is the extension "theme" installed?
if (!EXT_IS_ACTIVE("theme")) {
// Then abort here
- return "0.0";
+ return "!.!";
} // END - if
// Default version "number"
- $cver = "-.-";
+ $cver = "?.?";
// Is the cache entry there?
if (isset($cacheArray['themes']['theme_ver'][$name])) {
$newTheme = $_POST['new_theme'];
// Change to new theme
- set_session("mxchange_theme", $newTheme);
+ set_session('mxchange_theme', $newTheme);
// Remove current from array and set new
$theme = sprintf("%stheme/%s/theme.php", PATH, $currTheme);