From 7eab6f8992c4c12889ff08318ad7e7c23848e973 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 2 Sep 2011 14:29:41 +0000 Subject: [PATCH] --- inc/ws/Metier/class.ws.theme.parametres.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inc/ws/Metier/class.ws.theme.parametres.php b/inc/ws/Metier/class.ws.theme.parametres.php index 54546eec6..5438274b0 100644 --- a/inc/ws/Metier/class.ws.theme.parametres.php +++ b/inc/ws/Metier/class.ws.theme.parametres.php @@ -45,14 +45,16 @@ class wsThemeParametres extends wsParametres { 'label' => __("Couleur du texte")); $this->fields['searchFieldColor'] = array('type' => 'couleur', 'default' => 'ffffff', 'editable' => true, 'label' => __("Couleur du champs de saisie")); - $this->fields['searchShadeAlpha'] = array('type' => 'integer', 'default' => 00, 'editable' => true, + $this->fields['searchShadeAlpha'] = array('type' => 'integer', 'default' => 0, 'editable' => true, 'label' => __("Intensité de l'ombre dans le champ de saisie"), 'min' => 0, 'max' => 100); $this->fields['highlightColor'] = array('type' => 'couleur', 'default' => '00ff00', 'editable' => true, 'label' => __("Couleur du surlignage des résultats")); + $this->fields['searchFieldWidth'] = array('type' => 'integer', 'default' => 230, 'editable' => true, + 'label' => __("Largeur du champ de recherche")); $this->forms['search'] = array('label' => __('Personnalisation de la recherche'), - 'fieldsnames' => array('couleurS', 'searchFieldColor', 'searchShadeAlpha', '|', 'highlightColor')); + 'fieldsnames' => array('couleurS', 'searchFieldColor', 'searchShadeAlpha','searchFieldWidth', '|', 'highlightColor')); /* Icones */ $this->fields['iconSet'] = array('type' => 'icones', 'default' => 1, 'editable' => true, 'label' => __("Jeu d'icônes")); -- 2.39.5