Clicking on the link switch to bootstrap immediately. re #79
This commit is contained in:
parent
5ba7d02f23
commit
dfa02b6c11
2
base.php
2
base.php
|
@ -1078,7 +1078,7 @@ class PageCustomize extends Page
|
|||
|
||||
$content = "";
|
||||
array_push ($this->entryArray, new Entry ("Template", "",
|
||||
"<span onclick='$.cookie(\"template\", \"bootstrap\", { expires: 365 });'>Click to switch to Bootstrap</span>", "text",
|
||||
"<span onclick='$.cookie(\"template\", \"bootstrap\", { expires: 365 });window.location=$(\".headleft\").attr(\"href\");'>Click to switch to Bootstrap</span>", "text",
|
||||
array ()));
|
||||
if (!preg_match("/(Kobo|Kindle\/3.0|EBRD1101)/", $_SERVER['HTTP_USER_AGENT'])) {
|
||||
$content .= '<select id="style" onchange="updateCookie (this);">';
|
||||
|
|
Loading…
Reference in a new issue