]> _ Git - cubeextranet.git/commitdiff
wait #2531 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 23 Jan 2019 17:12:00 +0000 (17:12 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 23 Jan 2019 17:12:00 +0000 (17:12 +0000)
inc/ws/Metier/class.ws.book.parametres.php

index e8c36dddec6b7a1a6c4af5e081aefa7a4f5a09a4..8bb9f908b21a00da0069a1e55583392ec3945482 100644 (file)
@@ -450,8 +450,9 @@ class wsBookParametres extends wsParametres
                // .
                $this->fields['offlineLink'] = array('type' => 'text', 'default' => 'http://', 'editable' => true, 'label' => __("URL du Fluidbook"), 'hint' => __('URL du fluidbook utilisée pour la version Offline (CD-ROM, clé USB, Exécutables)'));
                $this->fields['offlineTitle'] = array('type' => 'text', 'default' => '', 'editable' => true, 'label' => __("Titre de l'application"));
+               $this->fields['offlineEnableAdvancedPrinting'] = ['type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Activer le menu d\'impression avancée')];
                $this->forms['offline'] = array('label' => __('Version offline'),
-                       'fieldsnames' => array('offlineTitle', 'offlineLink'));
+                       'fieldsnames' => array('offlineTitle', 'offlineLink', '|', 'offlineEnableAdvancedPrinting'));
 
                $this->fields['alwaysHTML5'] = array('type' => 'boolean', 'default' => 'false', 'editable' => true, 'label' => __('Toujours utiliser la version HTML5'), 'grade' => 1);