From: vincent@cubedesigners.com Date: Tue, 3 Oct 2017 09:29:14 +0000 (+0000) Subject: done #1684 @0:20 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7de293d20ad668ffbbf90da13354cebe6e6cbc6b;p=cubeextranet.git done #1684 @0:20 --- 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 c7c9d6194..ab1368ea6 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1281,6 +1281,7 @@ class wsHTML5Compiler { $lessVariables['book-page-height'] = $h; $lessVariables['shadow-opacity'] = wsHTML5::colorToArray($this->theme->parametres->bookShadeColor)['opacity'] * 1.2; + $lessVariables['edges-display'] = $this->_lessBoolean($this->theme->parametres->usePageEdges); $res[] = '.portrait #pages,.portrait .doublePage.page,.page,.doublePage._3d{width:' . $w . ';max-width:' . $w . ';height:' . $h . ';max-height:' . $h . '}'; $res[] = '.doublePage,#pages,#links,#searchHighlights{width:' . $w2 . ';max-width:' . $w2 . ';height:' . $h . ';max-height:' . $h . '}';