From: vincent@cubedesigners.com Date: Mon, 5 Jul 2021 08:13:02 +0000 (+0000) Subject: wait #4569 @0:15 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a8a8381f1779b82ab3a57a7ded674b0858ad23de;p=cubeextranet.git wait #4569 @0:15 --- diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index e12fa53ae..8d8a020fd 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -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']];