: '. $template_file; ?>
'; while ($file = readdir($themes_handle)) { $curpath = $themes_path .'/'. $file; if( is_dir($curpath) && $file != "." && $file != ".." ) { $theme_dir_array[] = $file; $sel=""; if (file_exists($curpath.'/template.php')){ if ($template == $file){ $sel="selected"; } $theme_options .= ''; } } } $theme_options .= ' '; # check to see how many themes are available if (count($theme_dir_array) == 1){ $theme_options = ''; } $templates = directoryToArray(GSTHEMESPATH . $template . '/', true); $theme_templates .= '"; if (!defined('GSNOHIGHLIGHT') || GSNOHIGHLIGHT!=true){ register_script('codemirror', $SITEURL.$GSADMIN.'/template/js/codemirror/lib/codemirror-compressed.js', '0.2.0', FALSE); register_style('codemirror-css',$SITEURL.$GSADMIN.'/template/js/codemirror/lib/codemirror.css','screen',FALSE); register_style('codemirror-theme',$SITEURL.$GSADMIN.'/template/js/codemirror/theme/default.css','screen',FALSE); queue_script('codemirror', GSBACK); queue_style('codemirror-css', GSBACK); queue_style('codemirror-theme', GSBACK); } get_template('header', cl($SITENAME).' » '.i18n_r('THEME_MANAGEMENT')); ?>
: '. $template_file; ?>