]> _ Git - cubeextranet.git/commitdiff
wait #5521 @0:15
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 18 Oct 2022 12:41:06 +0000 (12:41 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 18 Oct 2022 12:41:06 +0000 (12:41 +0000)
inc/ws/Controlleur/class.ws.droits.php
inc/ws/Metier/class.ws.book.parametres.php

index 61d0eafa91424a4a35b4af83e019b6600df4dc4e..dee505087265421a6ed5017826f7a9139989d3c5 100644 (file)
@@ -121,6 +121,7 @@ class wsDroits
             __('Azure Henry (fr-FR)') => 'azuretts:fr-FR/Male/fr-FR-HenryNeural',\r
             __('Azure Katja (de-DE)') => 'azuretts:de-DE/Female/de-DE-KatjaNeural',\r
             __('Azure Libby (en-GB)') => 'azuretts:en-GB/Female/en-GB-LibbyNeural',\r
+            __('Azure Jenny (en-US)') => 'azuretts:en-US/Female/en-US-JennyNeural',\r
         ];\r
         if ($rights->creation || $rights->revendeur) {\r
             $res = array_merge($res, $freeVoices);\r
index 47ebb4a5b28c86529fd51519833699d3e43a6186..811799f8ab996b51ddf1f4085f65dcc97820119e 100644 (file)
@@ -3,7 +3,7 @@
 ### THIS FILE IS GENERATED BY THE FLUIDBOOK TOOLBOX ###
 ### Any manual change could be overriden
 ### Any change has to be done on the file app/Models/Traits/PublicationSettings.php (in Fluidbook Toolbox)
-### Then run /usr/bin/php8.0 artisan job:dispatchNow LegacyBookSettingsGenerate
+### Then run php artisan job:dispatchNow LegacyBookSettingsGenerate
 
 class wsBookParametres extends wsParametres
 {
@@ -394,6 +394,13 @@ class wsBookParametres extends wsParametres
         'label' => __('Centrer la publication sur les couvertures'),
         'grade' => 2,
     ],
+    'mobileReducedMargins' => [
+        'type' => 'boolean',
+        'default' => false,
+        'editable' => true,
+        'label' => __('Marges réduites sur mobile'),
+        'grade' => 3,
+    ],
     'extraXSpace' => [
         'type' => 'integer',
         'default' => 0,
@@ -447,7 +454,7 @@ class wsBookParametres extends wsParametres
     ],
     'svgTextMethod' => [
         'type' => 'combo',
-        'default' => 'pdftocairo',
+        'default' => 'pdf',
         'editable' => true,
         'label' => __('Méthode d\'extraction des textes en SVG'),
         'datas' => [
@@ -1930,7 +1937,7 @@ class wsBookParametres extends wsParametres
             __('Photo') => 'icon-photo',
         ],
         'label' => __('Icône du bouton').' 1',
-        'default' => 'click',
+        'default' => 'none',
         'editable' => true,
         'grade' => 3,
     ],
@@ -1986,7 +1993,7 @@ class wsBookParametres extends wsParametres
             __('Photo') => 'icon-photo',
         ],
         'label' => __('Icône du bouton').' 2',
-        'default' => 'click',
+        'default' => 'none',
         'editable' => true,
         'grade' => 3,
     ],
@@ -2042,7 +2049,7 @@ class wsBookParametres extends wsParametres
             __('Photo') => 'icon-photo',
         ],
         'label' => __('Icône du bouton').' 3',
-        'default' => 'click',
+        'default' => 'none',
         'editable' => true,
         'grade' => 3,
     ],
@@ -2198,7 +2205,7 @@ class wsBookParametres extends wsParametres
     ],
     'articlesStyle' => [
         'type' => 'combo',
-        'default' => true,
+        'default' => 'default',
         'editable' => true,
         'label' => __('Style'),
         'grade' => 3,
@@ -2280,7 +2287,7 @@ class wsBookParametres extends wsParametres
     ],
     'basketManager' => [
         'type' => 'combo',
-        'default' => 'classic',
+        'default' => 'com.fluidbook.player.basket.BasketManager',
         'editable' => true,
         'label' => __('Manager de panier'),
         'datas' => [
@@ -2304,6 +2311,7 @@ class wsBookParametres extends wsParametres
             'Wishlist Jouéclub Noël 2021' => 'JoueclubWishlist2021',
             'Thiriet' => 'Thiriet',
             'CFOC' => 'CFOC',
+            'Bastide' => 'Bastide',
         ],
         'grade' => 5,
     ],
@@ -2759,9 +2767,9 @@ L,index',
         'label' => __('Version du standard SCORM'),
         'grade' => 5,
         'datas' => [
-            __('SCORM 1.2') => '1.2',
-            __('SCORM 2004 3rd edition') => '2004.3',
-            __('SCORM 2004 4th edition') => 2004,
+            'SCORM 1.2' => '1.2',
+            'SCORM 2004 3rd edition' => '2004.3',
+            'SCORM 2004 4th edition' => 2004,
         ],
     ],
     'scorm_id' => [
@@ -2947,19 +2955,20 @@ L,index',
             9 => 'correctCenter',
             10 => 'pagesBaseAngle',
             11 => 'centerBook',
-            12 => 'extraXSpace',
-            13 => 'mobileExtraXSpace',
-            14 => 'extraYSpace',
-            15 => 'viewMode',
-            16 => 'dynamicBackgroundColor',
-            17 => 'svgToCanvas',
-            18 => 'svgToCanvasUpscale',
-            19 => 'svgTextMethod',
-            20 => 'textsThickness',
-            21 => 'textsThicknessPages',
-            22 => 'imageFormat',
-            23 => 'maxResolution',
-            24 => 'JPEGQuality',
+            12 => 'mobileReducedMargins',
+            13 => 'extraXSpace',
+            14 => 'mobileExtraXSpace',
+            15 => 'extraYSpace',
+            16 => 'viewMode',
+            17 => 'dynamicBackgroundColor',
+            18 => 'svgToCanvas',
+            19 => 'svgToCanvasUpscale',
+            20 => 'svgTextMethod',
+            21 => 'textsThickness',
+            22 => 'textsThicknessPages',
+            23 => 'imageFormat',
+            24 => 'maxResolution',
+            25 => 'JPEGQuality',
         ],
     ],
     'performances' => [