]> Joshua Wise's Git repositories - patchfork.git/blobdiff - player/config.php
Make config page refuse to allow you to select the mini theme (it should only be...
[patchfork.git] / player / config.php
index 2a088893f625de16a59b221e0e8ee1d3277381cf..748156cf8e6166ded6671246fd209e6be22ae08d 100644 (file)
@@ -46,6 +46,7 @@
        @ob_start();
        require_once("../inc/base.php");
        require_once("../lang/master.php");
+       header("Content-Type: text/html; charset=UTF-8");
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html>
 $themes = get_available_themes();
 $ctheme = get_config("theme", "default");
 foreach($themes as $theme) {
+       if ($theme == "mini")
+               continue;
        echo "\n<option value='$theme' ";
        if($theme==$ctheme)
                echo "selected='selected' ";
This page took 0.019114 seconds and 4 git commands to generate.