diff --git a/base.php b/base.php index b21c983..ebe3834 100644 --- a/base.php +++ b/base.php @@ -751,11 +751,12 @@ class PageCustomize extends Page array_push ($this->entryArray, new Entry (localize ("customize.style"), "", $content, "text", array ())); - - $content = ''; - array_push ($this->entryArray, new Entry (localize ("customize.fancybox"), "", - $content, "text", - array ())); + if (!useServerSideRendering ()) { + $content = ''; + array_push ($this->entryArray, new Entry (localize ("customize.fancybox"), "", + $content, "text", + array ())); + } $content = ''; array_push ($this->entryArray, new Entry (localize ("customize.paging"), "", $content, "text", diff --git a/book.php b/book.php index 8cc8c9f..30638e3 100644 --- a/book.php +++ b/book.php @@ -631,6 +631,7 @@ function getJson ($complete = false) { "config" => array ( "use_fancyapps" => $config ["cops_use_fancyapps"], "max_item_per_page" => $config['cops_max_item_per_page'], + "server_side_rendering" => useServerSideRendering (), "html_tag_filter" => $config['cops_html_tag_filter'])); if ($config['cops_thumbnail_handling'] == "1") { $out ["const"]["url"]["thumbnailUrl"] = $out ["const"]["url"]["coverUrl"]; diff --git a/index.php b/index.php index 2094b43..18e917f 100644 --- a/index.php +++ b/index.php @@ -42,13 +42,16 @@