From 0e03d86db29e38c5c65bd448b2ffcbc1870ea900 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 14 Feb 2011 14:44:02 +0000 Subject: [PATCH] --- inc/ws/Metier/class.ws.book.parametres.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/ws/Metier/class.ws.book.parametres.php b/inc/ws/Metier/class.ws.book.parametres.php index 6191afcfc..6bd459e47 100644 --- a/inc/ws/Metier/class.ws.book.parametres.php +++ b/inc/ws/Metier/class.ws.book.parametres.php @@ -88,10 +88,11 @@ class wsBookParametres extends wsParametres { $this->forms['stats'] = array('label' => __('Statistiques'), 'fieldsnames' => array('stats', 'googleAnalytics')); // . + $this->fields['chaptersPage'] = array('type' => 'text', 'default' => '', 'editable' => true, 'label' => __('Faire pointer le sommaire sur la page'), 'grade' => 3, 'hint' => __('Laisser vide pour utiliser le sommaire classique'),'size'=>5); $this->fields['displayChaptersAtStart'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __("Afficher le sommaire au chargement de la publication"), 'grade' => 3); $this->forms['sommaire'] = array('label' => __('Sommaire'), - 'fieldsnames' => array('displayChaptersAtStart')); + 'fieldsnames' => array('chaptersPage', 'displayChaptersAtStart')); // . $this->fields['permanentLinks'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __('Liens visibles en permanence'), 'grade' => 3); $this->forms['multimedia'] = array('label' => __('Liens et multimédia'), -- 2.39.5