From: vincent@cubedesigners.com Date: Tue, 16 Mar 2021 19:41:56 +0000 (+0000) Subject: wait #4353 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e57cb15c59f85bb13c26b61dba3c790a24a273b2;p=cubeextranet.git wait #4353 @0.5 --- diff --git a/inc/extranet/Metier/class.extranet.document.php b/inc/extranet/Metier/class.extranet.document.php index f79b3fe9e..3b39f969e 100644 --- a/inc/extranet/Metier/class.extranet.document.php +++ b/inc/extranet/Metier/class.extranet.document.php @@ -135,9 +135,14 @@ abstract class extranetDocument extends cubeMetier { $this->pdf->Cell(33, 4, self::escape($ligne['montant']), 0, 0, 'R'); } // Titre - $this->pdf->SetFont('Klavika', 'B', 10); + $size=10; + if(strpos($ligne['titre'],'__')===0){ + $size=13; + } + + $this->pdf->SetFont('Klavika', 'B', $size); $this->pdf->setXY(6, $y); - $this->pdf->Cell(171, 4, self::escape(trim($ligne['titre'])), 0, 1); + $this->pdf->Cell(171, 4, self::escape(trim($ligne['titre']," \t\n\r\0\x0B_")), 0, 1); // Contenu if ($displayDescription) { $this->pdf->SetXY(6, $this->pdf->getY() + 1); diff --git a/inc/ws/Util/class.ws.links.php b/inc/ws/Util/class.ws.links.php index 8da30eba4..48db926ff 100644 --- a/inc/ws/Util/class.ws.links.php +++ b/inc/ws/Util/class.ws.links.php @@ -35,6 +35,7 @@ class wsLinks 'image' => __('Image'), 'image_rollover' => __('Animation au survol'), 'animation' => __('Animation'), 'group' => __('Groupe'), + 'zindex'=>__('Profondeur'), ); $comments = array(); 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 d8cadb163..0cbdb69b6 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -2106,6 +2106,9 @@ class wsHTML5Compiler $imdir = 'html'; } + $pages= array_slice($this->pages, 0);; + shuffle($pages); + $thumbs = array(); foreach ($this->pages as $page => $infos) { $docdir = wsDocument::getDir($infos['document_id']); @@ -2134,9 +2137,6 @@ class wsHTML5Compiler } $this->vdir->copy($this->book->getThumbFile($page, $this->imageFormat), 'data/thumbnails/p' . $page . '.' . $this->imageFormat); - if ($page % 10 == 0) { - $this->log('Copied image ' . $page); - } } $this->_makeCover($this->book->getFile(1, 'jpg', 150, true, true));