From: vincent@cubedesigners.com Date: Mon, 12 Dec 2016 18:34:18 +0000 (+0000) Subject: #1028 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3fff7f7251774f684e9cc93f7e4f8c78b70fb65b;p=cubeextranet.git #1028 --- diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 5da607136..980eba6c7 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -756,11 +756,14 @@ class wsHTML5Compiler { } $allpages = range(0, $this->book->parametres->pages + 1); - $allpages[] = 'aftersearch'; + if ($this->book->parametres->themeEnableAfterSearch) { + $allpages[] = 'aftersearch'; + } $allpages[] = 'background'; $allpages[] = 'archives'; foreach ($allpages as $i) { + $c = ''; $cc = ''; if (isset($pages[$i])) {