From a8c62d93aa66a8e807d253f537a764e5c9f65f65 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 12 May 2011 09:24:59 +0000 Subject: [PATCH] --- inc/ws/Metier/class.ws.theme.parametres.php | 29 ++++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/inc/ws/Metier/class.ws.theme.parametres.php b/inc/ws/Metier/class.ws.theme.parametres.php index 03c07f128..96c32d076 100644 --- a/inc/ws/Metier/class.ws.theme.parametres.php +++ b/inc/ws/Metier/class.ws.theme.parametres.php @@ -1,12 +1,12 @@ parent)) { return; } @@ -140,13 +140,21 @@ class wsThemeParametres extends wsParametres { 'uploadURL' => SITE_PATH . 'flash/uploadThemeFile/?theme_id=' . $this->parent->theme_id); $this->fields['invertMenuPosition'] = array('type' => 'boolean', 'default' => false, 'editable' => true, 'label' => __("Intervertir le menu et le logo")); - $this->fields['topBar'] = array('type' => 'file', 'default' => '', 'editable' => true, + + $this->fields['topBar'] = array('type' => 'file', 'default' => '', 'editable' => true, 'label' => __('Top Bar'), 'path' => $themeRoot, 'uploadURL' => SITE_PATH . 'flash/uploadThemeFile/?theme_id=' . $this->parent->theme_id); + $this->fields['afterSearch'] = array('type' => 'file', 'default' => '', 'editable' => true, + 'label' => __('Image supplémentaire'), + 'path' => $themeRoot, + 'uploadURL' => SITE_PATH . 'flash/uploadThemeFile/?theme_id=' . $this->parent->theme_id, + 'hint' => __('Image disposée à droite du champ de recherche') + ); + $this->forms['menubar'] = array('label' => __('Personnalisation de la barre de menu'), - 'fieldsnames' => array('menuHeight', '|', 'menuColor', '|', 'menuImage', '|', 'shadeOnMenu', '|', 'invertMenuPosition','|','topBar')); + 'fieldsnames' => array('menuHeight', '|', 'menuColor', '|', 'menuImage', '|', 'shadeOnMenu', '|', 'invertMenuPosition', '|', 'topBar', '|', 'afterSearch')); /* Menu bar logo */ $this->fields['logo'] = array('type' => 'file', 'default' => 'menu_clientLogo.png', 'editable' => true, 'label' => __('Image'), @@ -179,11 +187,12 @@ class wsThemeParametres extends wsParametres { 'fieldsnames' => array('pagesBar', 'pageBarThumbBack')); /* Paramètres non implémentés */ - /*$this->fields['extraXSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true, - 'label' => __('Marge supplémentaire horizontale'), 'min' => 0, 'max' => 200); - $this->fields['extraYSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true, - 'label' => __('Marge supplémentaire verticale'), 'min' => 0, 'max' => 200);*/ + /* $this->fields['extraXSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true, + 'label' => __('Marge supplémentaire horizontale'), 'min' => 0, 'max' => 200); + $this->fields['extraYSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true, + 'label' => __('Marge supplémentaire verticale'), 'min' => 0, 'max' => 200); */ } + } ?> \ No newline at end of file -- 2.39.5