]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 28 Apr 2011 12:50:19 +0000 (12:50 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 28 Apr 2011 12:50:19 +0000 (12:50 +0000)
inc/ws/Metier/class.ws.theme.parametres.php

index ce23cddef103bb26fb5efc8fd679904ceabe0aa5..9718cbb44265c0bd868a214fa1879ab39814383f 100644 (file)
@@ -99,6 +99,8 @@ class wsThemeParametres extends wsParametres {
                $this->forms['credits'] = array('label' => __('Personnalisation des crédits'),\r
                        'fieldsnames' => array('creditsColor'));\r
                /* Background */\r
+               $this->fields['transparentBackground'] = array('type' => 'boolean', 'default' => false, 'editable' => true,\r
+                       'label' => __('Fond transparent'), 'hint' => __("Si cette option est cochée, aucun fond ne sera pris en compte (ni l'image, ni la couleur)"));\r
                $this->fields['backgroundColor'] = array('type' => 'couleur', 'default' => 'ffffff', 'editable' => true,\r
                        'label' => __("Couleur du fond"));\r
                $this->fields['backgroundImage'] = array('type' => 'file', 'default' => 'backgroundImg.jpg', 'editable' => true,\r
@@ -123,7 +125,7 @@ class wsThemeParametres extends wsParametres {
                        'default' => wsTheme::MIDDLE, 'editable' => true, 'label' => __('Alignement Vertical'));\r
 \r
                $this->forms['background'] = array('label' => __('Personnalisation du fond'),\r
-                       'fieldsnames' => array('backgroundColor', '|', 'backgroundImage',\r
+                       'fieldsnames' => array('transparentBackground', '|', 'backgroundColor', '|', 'backgroundImage',\r
                                'repeat', 'backgroundHAlign', 'backgroundVAlign'));\r
                /* Menu bar */\r
                $this->fields['menuHeight'] = array('type' => 'integer', 'default' => 39, 'editable' => true,\r