From: vincent@cubedesigners.com Date: Wed, 8 Feb 2012 19:08:51 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3e92f4a24ad27bb9bf594974f8377ef28e3b63b1;p=cubeextranet.git --- diff --git a/fluidbook/compile/_zinc/Fluidbook.zinc b/fluidbook/compile/_zinc/Fluidbook.zinc index d0788046b..50f5c5065 100644 Binary files a/fluidbook/compile/_zinc/Fluidbook.zinc and b/fluidbook/compile/_zinc/Fluidbook.zinc differ diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index afcb38263..0af27b6ec 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -60,7 +60,7 @@ class wsBookParametres extends wsParametres { $this->fields['extraYSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true, 'label' => __('Marge supplémentaire verticale'), 'grade' => 3); $this->fields['centerBook'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Centrer la publication sur les couvertures'), 'grade' => 2); $this->forms['3d_mode'] = array('label' => __('Options de visualisation'), - 'fieldsnames' => array('visualisationMode', 'pagesBaseAngle','centerBook', '|', 'extraXSpace', 'extraYSpace', '|', 'viewMode')); + 'fieldsnames' => array('visualisationMode', 'pagesBaseAngle', 'centerBook', '|', 'extraXSpace', 'extraYSpace', '|', 'viewMode')); $this->fields['bookmark'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Activer les marques-pages')); @@ -211,6 +211,14 @@ class wsBookParametres extends wsParametres { $this->forms['seo'] = array('label' => __('Optimisation pour les moteurs de recherche'), 'fieldsnames' => array('seoVersion', 'seoRobots')); + $this->fields['plv'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Activer le mode PLV'), 'grade' => 3); + $this->fields['plvTimer'] = array('type' => 'integer', 'min' => 1, 'max' => 60, 'default' => 5, 'editable' => true, 'label' => __('Temps'), 'grade' => 3); + $this->fields['plvMode'] = array('type' => 'combo', 'default' => 'first', 'editable' => true, 'label' => __('Arrivé à la dernière page'), 'grade' => 3, + 'datas' => array(__('Remonter vers la première page') => 'back', + __('Recommencer à la première page') => 'first')); + $this->forms['plv'] = array('label' => __('Mode PLV'), + 'fieldsnames' => array('plv', 'plvTimer', 'plvMode')); + $this->fields['widget'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Générer le widget'), 'grade' => 3); $this->fields['widgetCover'] = array('type' => 'boolean', 'default' => true, 'editable' => true, 'label' => __('Afficher la couverture') . ')', 'grade' => 3); $this->fields['widgetSize'] = array('type' => 'integer', 'default' => 200, 'editable' => true, 'label' => __('Optimiser pour une hauteur de (en pixels)'), 'grade' => 3);