From: vincent@cubedesigners.com Date: Wed, 3 Oct 2018 09:00:02 +0000 (+0000) Subject: wip #2231 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=90cc8d6bcf1c0a5358845acba8b7a88eea39d824;p=cubeextranet.git wip #2231 @0.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 1a3d94229..e5a9eb117 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1036,6 +1036,7 @@ class wsHTML5Compiler $pages = array(); $cpages = array(); $css = array(); + $linkPages = []; usort($links, array($this, '_sortLinks')); @@ -1058,6 +1059,10 @@ class wsHTML5Compiler $this->config->afterSearchTooltip = $link->infobulle; } + if (strpos($link->page, 'link_') === 0) { + $linkPages[$link->page] = true; + } + $c = $link->getHTMLContainer(); $css[] = $link->getCSSContainer(); @@ -1083,6 +1088,9 @@ class wsHTML5Compiler } $allpages[] = 'background'; $allpages[] = 'archives'; + foreach ($linkPages as $linkPage => $true) { + $allpages[] = $linkPage; + } foreach ($allpages as $i) {