]> _ Git - cubeextranet.git/commitdiff
wip #3313 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 20 Jan 2020 17:52:24 +0000 (17:52 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 20 Jan 2020 17:52:24 +0000 (17:52 +0000)
inc/ws/Metier/class.ws.book.parametres.php

index 6e658d407b8a9935c3f9ea3143deaf02206895f0..84f5c3e232b12b551f679b603d2eec59ab3e86f8 100644 (file)
@@ -241,8 +241,9 @@ class wsBookParametres extends wsParametres
         $this->fields['helpStartup'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __("Afficher l'aide au démarrage"));
         $this->fields['helpStartupTime'] = array('type' => 'integer', 'default' => 15, 'editable' => true, 'label' => __("Temps d'affichage en secondes"));
         $this->fields['helpArrowTooltip'] = array('type' => 'text', 'default' => '', 'editable' => true, 'label' => __('Bulle affichée au niveau de la flèche de droite'), 'grade' => 5);
+        $this->fields['landscapeWarning'] = ['type' => 'textarea', 'default' => '', 'editable' => true, 'label' => __('Avertissement affiché sur mobile au chargement de la publication'), 'grade' => 5];
         $this->forms['help'] = array('label' => __('Aide'),
-            'fieldsnames' => array('help', '|', 'helpStartup', 'helpStartupTime', '|', 'helpBookmarks', '|', 'helpArrowTooltip'));
+            'fieldsnames' => array('help', '|', 'helpStartup', 'helpStartupTime', '|', 'helpBookmarks', '|', 'helpArrowTooltip', '|', 'landscapeWarning'));
         // .
         //
         $this->fields['indexAutoScroll'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Activer le scroll automatique'));