From f5c00cee10092525539476680ebe94a2359fc19f Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 16 Feb 2011 19:19:27 +0000 Subject: [PATCH] --- inc/ws/Metier/class.ws.theme.parametres.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/ws/Metier/class.ws.theme.parametres.php b/inc/ws/Metier/class.ws.theme.parametres.php index 706d1a89e..040e70bfd 100644 --- a/inc/ws/Metier/class.ws.theme.parametres.php +++ b/inc/ws/Metier/class.ws.theme.parametres.php @@ -60,11 +60,9 @@ class wsThemeParametres extends wsParametres { 'label' => __("Couleur de l'effet de rollover"), 'extra' => false, 'grade' => 3); $this->fields['iconsHMargin'] = array('type' => 'integer', 'default' => 15, 'editable' => true, 'label' => __('Espace entre les icônes'), 'min' => 0, 'max' => 50); - $this->fields['iconsTMargin'] = array('type' => 'integer', 'default' => 7, 'editable' => true, - 'label' => __('Marge supérieur des icônes'), 'min' => 0, 'max' => 20); $this->forms['icones'] = array('label' => __('Personnalisation des icônes'), - 'fieldsnames' => array('iconSet', 'iconShadeColor', '|', 'iconsTMargin', 'iconsHMargin', '|', 'colorizeIcons', 'couleurI')); + 'fieldsnames' => array('iconSet', 'iconShadeColor', '|', 'iconsHMargin', '|', 'colorizeIcons', 'couleurI')); /* Book */ $this->fields['bookShadeColor'] = array('type' => 'couleurAlpha', 'default' => '66000000', 'editable' => true, @@ -127,6 +125,8 @@ class wsThemeParametres extends wsParametres { 'fieldsnames' => array('backgroundColor', '|', 'useBackgroundImage', 'backgroundImage', '|', 'repeat', 'backgroundHAlign', 'backgroundVAlign')); /* Menu bar */ + $this->fields['menuHeight'] = array('type' => 'integer', 'default' => 39, 'editable' => true, + 'label' => __('Hauteur (en pixels)')); $this->fields['menuColor'] = array('type' => 'couleurAlpha', 'default' => 'ffffffff', 'editable' => true, 'label' => __("Couleur du fond"), 'extra' => false, 'grade' => 3); $this->fields['shadeOnMenu'] = array('type' => 'boolean', 'default' => true, 'editable' => true, @@ -141,7 +141,7 @@ class wsThemeParametres extends wsParametres { 'label' => __("Intervertir le menu et le logo"), 'extra' => true, 'grade' => 4); $this->forms['menubar'] = array('label' => __('Personnalisation de la barre de menu'), - 'fieldsnames' => array('menuColor', '|', 'useMenuImage', 'menuImage', '|', 'shadeOnMenu', '|', 'invertMenuPosition')); + 'fieldsnames' => array('menuHeight', '|', 'menuColor', '|', 'useMenuImage', 'menuImage', '|', 'shadeOnMenu', '|', 'invertMenuPosition')); /* Menu bar logo */ $this->fields['logo'] = array('type' => 'file', 'default' => 'menu_clientLogo.png', 'editable' => true, 'label' => __('Image'), 'extra' => false, 'grade' => 3, -- 2.39.5