]> _ Git - cubeextranet.git/commitdiff
wip #4901 @0.75
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 22 Nov 2021 17:06:00 +0000 (17:06 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 22 Nov 2021 17:06:00 +0000 (17:06 +0000)
inc/ws/Controlleur/class.ws.flash.php
inc/ws/Controlleur/class.ws.maintenance.php
inc/ws/Metier/class.ws.document.php

index d61fdee611b7227d6533142d9fd0387af9563c9e..e33fc20b0ba39d8d2248b49309314386f5b70cda 100644 (file)
@@ -374,7 +374,7 @@ class wsFlash extends cubeFlashGateway
         $docs = array();
         $defaultNum = array();
         foreach ($pages as $page => $info) {
-            $book->getFile($page, 'swf', 150);
+            //$book->getFile($page, 'swf', 150);
             $file = WS_DOCS . '/' . $info['document_id'] . '/p' . $info['document_page'] . '.jpg';
             if (!file_exists($file)) {
                 $info['resolution'] = 150;
index feed2161d6bd0986777f6e610e4f502af1a50edc..1bece9913428599d551c76bf3f758609c66f6a8d 100644 (file)
@@ -1562,7 +1562,7 @@ class wsMaintenance
             ['jpg', '150', true, true, 'html'],
             ['jpg', '150', false, true, 'html'],
             ['jpg', '150', false, true, 'html'],
-            ['swf', '150', true, true, ''],
+            //['swf', '150', true, true, ''],
             ['svg', '150', true, false, 'html'],
             ['svg', '300', true, false, 'html'],
             ['svg', '150', true, true, 'html'],
index 14ecf99326856bb2d034235bbe1b63946f6f8c33..a6a3f007ab4e9aa70655d1463fdcfd78eb20786c 100644 (file)
@@ -545,7 +545,7 @@ class wsDocument extends cubeMetier
             // Thumb for composition panel
             $this->getFile($page, 'jpg', 'thumb', true, true, '', true);
             // Image for link editor
-            $this->getFile($page, 'swf', 150, true, true, '', true);
+            $this->getFile($page, 'jpg', 150, true, true, '', true);
             // Make SVG base file
             $this->makeSVGFile($page, true);
         }