From 90cc8d6bcf1c0a5358845acba8b7a88eea39d824 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 3 Oct 2018 09:00:02 +0000 Subject: [PATCH] wip #2231 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { -- 2.39.5