]> _ Git - cubeextranet.git/commitdiff
wait #4569 @0:15
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 5 Jul 2021 08:13:02 +0000 (08:13 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 5 Jul 2021 08:13:02 +0000 (08:13 +0000)
inc/ws/Metier/class.ws.book.parametres.php

index e12fa53aea17da06f31699ee0aff39ec6885ae5e..8d8a020fd7909455a02f3209b0d184e4fd4d2867 100644 (file)
@@ -538,15 +538,19 @@ class wsBookParametres extends wsParametres
         $this->forms['multimedia'] = ['label' => __('Multimedia'),
             'fieldsnames' => ['textPopupStylesheet', 'textPopupWidth', '|', 'iframePopupMaxWidth', '|', 'OAMChromeFactor', 'OAMIEFactor']];
 
-        $slideshowLibraries = [__('Simple') => 'dummy',
-            'Splide' => 'splide',
+        $slideshowPopupLibraries = [
+            'Splide ('.__('défaut').')' => 'splide',
+            'Vacheron' => 'vacheron'];
+
+        $slideshowInlineLibraries = [
+            'Simple ('.__('défaut').')' => 'dummy',
             'Vacheron' => 'vacheron'];
 
         $this->fields['slideshowCaptionSize'] = array('type' => 'text', 'default' => '', 'editable' => true, 'label' => __('Taille de police de la légende du diaporama'), 'hint' => __('Laisser vide pour utiliser la valeur par défaut'));
         $this->fields['inlineSlideshowTransitionDuration'] = array('type' => 'float', 'default' => 0.75, 'editable' => true, 'label' => __('Durée de la transition des diaporamas intégrés aux pages(s)'));
         $this->fields['inlineSlideshowDuration'] = array('type' => 'float', 'default' => 7, 'editable' => true, 'label' => __('Temps d\'attente des diaporamas intégrés aux pages (s)'));
-        $this->fields['inlineSlideshowLibrary'] = ['type' => 'combo', 'datas' => $slideshowLibraries, 'default' => 'dummy', 'editable' => true, 'grade' => 3, 'label' => __('Librarie utilisée pour les slideshow intégrés aux pages')];
-        $this->fields['popupSlideshowLibrary'] = ['type' => 'combo', 'datas' => $slideshowLibraries, 'default' => 'splide', 'editable' => true, 'grade' => 3, 'label' => __('Librarie utilisée pour les slideshow popup')];
+        $this->fields['inlineSlideshowLibrary'] = ['type' => 'combo', 'datas' => $slideshowInlineLibraries, 'default' => 'dummy', 'editable' => true, 'grade' => 3, 'label' => __('Librarie utilisée pour les slideshow intégrés aux pages')];
+        $this->fields['popupSlideshowLibrary'] = ['type' => 'combo', 'datas' => $slideshowPopupLibraries, 'default' => 'splide', 'editable' => true, 'grade' => 3, 'label' => __('Librarie utilisée pour les slideshow popup')];
 
         $this->forms['slideshow'] = ['label' => __('Slideshow'),
             'fieldsnames' => ['inlineSlideshowLibrary', 'popupSlideshowLibrary', '|', 'slideshowCaptionSize', '|', 'inlineSlideshowTransitionDuration', 'inlineSlideshowDuration']];