
'.i18n_r('NO_THEME_SCREENSHOT').'
'; } else { echo ''.i18n_r('NO_THEME_SCREENSHOT').'
'; } exec_action('theme-extras'); ?>TEMPLATE = null; $xml->TEMPLATE->addCData($TEMPLATE); $status = XMLsave($xml, $path . $file); $success = i18n_r('THEME_CHANGED'); } # get available themes (only look for folders) $themes_handle = opendir(GSTHEMESPATH) or die("Unable to open ".GSTHEMESPATH); while ($file = readdir($themes_handle)) { $curpath = GSTHEMESPATH . $file; if( is_dir($curpath) && $file != "." && $file != ".." ) { $sel=""; if (file_exists($curpath.'/template.php')){ if ($TEMPLATE == $file) { $sel="selected"; } $theme_options .= ''; } } } get_template('header', cl($SITENAME).' » '.i18n_r('THEME_MANAGEMENT')); ?>
'.i18n_r('NO_THEME_SCREENSHOT').'
'; } else { echo ''.i18n_r('NO_THEME_SCREENSHOT').'
'; } exec_action('theme-extras'); ?>