<?php\r
+\r
class wsThemeParametres extends wsParametres {\r
- public function __construct($parent)\r
- {\r
+\r
+ public function __construct($parent) {\r
parent::__construct($parent);\r
}\r
\r
- public function initFields()\r
- {\r
+ public function initFields() {\r
if (is_null($this->parent)) {\r
return;\r
}\r
'uploadURL' => SITE_PATH . 'flash/uploadThemeFile/?theme_id=' . $this->parent->theme_id);\r
$this->fields['invertMenuPosition'] = array('type' => 'boolean', 'default' => false, 'editable' => true,\r
'label' => __("Intervertir le menu et le logo"));\r
- $this->fields['topBar'] = array('type' => 'file', 'default' => '', 'editable' => true,\r
+\r
+ $this->fields['topBar'] = array('type' => 'file', 'default' => '', 'editable' => true,\r
'label' => __('Top Bar'),\r
'path' => $themeRoot,\r
'uploadURL' => SITE_PATH . 'flash/uploadThemeFile/?theme_id=' . $this->parent->theme_id);\r
\r
+ $this->fields['afterSearch'] = array('type' => 'file', 'default' => '', 'editable' => true,\r
+ 'label' => __('Image supplémentaire'),\r
+ 'path' => $themeRoot,\r
+ 'uploadURL' => SITE_PATH . 'flash/uploadThemeFile/?theme_id=' . $this->parent->theme_id,\r
+ 'hint' => __('Image disposée à droite du champ de recherche')\r
+ );\r
+\r
$this->forms['menubar'] = array('label' => __('Personnalisation de la barre de menu'),\r
- 'fieldsnames' => array('menuHeight', '|', 'menuColor', '|', 'menuImage', '|', 'shadeOnMenu', '|', 'invertMenuPosition','|','topBar'));\r
+ 'fieldsnames' => array('menuHeight', '|', 'menuColor', '|', 'menuImage', '|', 'shadeOnMenu', '|', 'invertMenuPosition', '|', 'topBar', '|', 'afterSearch'));\r
/* Menu bar logo */\r
$this->fields['logo'] = array('type' => 'file', 'default' => 'menu_clientLogo.png', 'editable' => true,\r
'label' => __('Image'),\r
'fieldsnames' => array('pagesBar', 'pageBarThumbBack'));\r
\r
/* Paramètres non implémentés */\r
- /*$this->fields['extraXSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true,\r
- 'label' => __('Marge supplémentaire horizontale'), 'min' => 0, 'max' => 200);\r
- $this->fields['extraYSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true,\r
- 'label' => __('Marge supplémentaire verticale'), 'min' => 0, 'max' => 200);*/\r
+ /* $this->fields['extraXSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true,\r
+ 'label' => __('Marge supplémentaire horizontale'), 'min' => 0, 'max' => 200);\r
+ $this->fields['extraYSpace'] = array('type' => 'integer', 'default' => '0', 'editable' => true,\r
+ 'label' => __('Marge supplémentaire verticale'), 'min' => 0, 'max' => 200); */\r
}\r
+\r
}\r
\r
?>
\ No newline at end of file