diff --git a/base.php b/base.php index 6bf1dde..156d75f 100644 --- a/base.php +++ b/base.php @@ -72,6 +72,9 @@ function getCurrentOption ($option) { if ($option == "style") { return "default"; } + if ($option == "template") { + return "default"; + } if (isset($config ["cops_" . $option])) { return $config ["cops_" . $option]; @@ -85,7 +88,7 @@ function getCurrentCss () { } function getCurrentTemplate () { - return "default"; + return getCurrentOption ("template"); } function getUrlWithVersion ($url) { @@ -1074,6 +1077,9 @@ class PageCustomize extends Page "language"); $content = ""; + array_push ($this->entryArray, new Entry ("Template", "", + "Click to switch to Bootstrap", "text", + array ())); if (!preg_match("/(Kobo|Kindle\/3.0|EBRD1101)/", $_SERVER['HTTP_USER_AGENT'])) { $content .= '