From 715920e54b636570be37d9a7305dc3e2e127fe26 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 28 Apr 2011 12:50:19 +0000 Subject: [PATCH] --- inc/ws/Metier/class.ws.theme.parametres.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/ws/Metier/class.ws.theme.parametres.php b/inc/ws/Metier/class.ws.theme.parametres.php index ce23cddef..9718cbb44 100644 --- a/inc/ws/Metier/class.ws.theme.parametres.php +++ b/inc/ws/Metier/class.ws.theme.parametres.php @@ -99,6 +99,8 @@ class wsThemeParametres extends wsParametres { $this->forms['credits'] = array('label' => __('Personnalisation des crédits'), 'fieldsnames' => array('creditsColor')); /* Background */ + $this->fields['transparentBackground'] = array('type' => 'boolean', 'default' => false, 'editable' => true, + 'label' => __('Fond transparent'), 'hint' => __("Si cette option est cochée, aucun fond ne sera pris en compte (ni l'image, ni la couleur)")); $this->fields['backgroundColor'] = array('type' => 'couleur', 'default' => 'ffffff', 'editable' => true, 'label' => __("Couleur du fond")); $this->fields['backgroundImage'] = array('type' => 'file', 'default' => 'backgroundImg.jpg', 'editable' => true, @@ -123,7 +125,7 @@ class wsThemeParametres extends wsParametres { 'default' => wsTheme::MIDDLE, 'editable' => true, 'label' => __('Alignement Vertical')); $this->forms['background'] = array('label' => __('Personnalisation du fond'), - 'fieldsnames' => array('backgroundColor', '|', 'backgroundImage', + 'fieldsnames' => array('transparentBackground', '|', 'backgroundColor', '|', 'backgroundImage', 'repeat', 'backgroundHAlign', 'backgroundVAlign')); /* Menu bar */ $this->fields['menuHeight'] = array('type' => 'integer', 'default' => 39, 'editable' => true, -- 2.39.5