From: vincent@cubedesigners.com Date: Wed, 31 Aug 2016 10:21:54 +0000 (+0000) Subject: fix #640 @0:15 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=df5018f2299f325ab02668684747d759518b4b62;p=fluidbook-v3.git fix #640 @0:15 --- diff --git a/framework/application/forms/CMS/Sub/Contact/Footer.php b/framework/application/forms/CMS/Sub/Contact/Footer.php index 71cadaa..de73ef0 100644 --- a/framework/application/forms/CMS/Sub/Contact/Footer.php +++ b/framework/application/forms/CMS/Sub/Contact/Footer.php @@ -24,6 +24,11 @@ class Fluidbook_Form_CMS_Sub_Contact_Footer extends CubeIT_Form_SubForm { $intro_bg->setMaxItems(1); $this->addElement($intro_bg); + $color = new CubeIT_Form_Element_Color('bg_color_big'); + $color->setLabel('Couleur de fond (grand)'); + $color->setValue('#ffffff'); + $this->addElement($color); + $intro_bg = new CubeIT_Form_Element_File_Image('bg_image_big'); $intro_bg->setLabel('Image de fond (grand)'); $intro_bg->setMaxItems(1); diff --git a/framework/application/views/helpers/Home.php b/framework/application/views/helpers/Home.php index bfc56bf..cfe3b3d 100644 --- a/framework/application/views/helpers/Home.php +++ b/framework/application/views/helpers/Home.php @@ -20,6 +20,7 @@ class Fluidbook_View_Helper_Home extends CubeIT_View_Helper_Abstract { } $cf = CubeIT_Util_Cms::unserialize($this->option('contact_footer')); $cf['bg_image'] = $cf['bg_image_big']; + $cf['bg_color'] = $cf['bg_color_big']; $res .= $this->contactFooter($cf); return $res;