From 24e3436adaa04cd3fa873995c9fa3762550f4180 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Fri, 24 Jun 2016 12:28:33 +0000 Subject: [PATCH] Done #499 @1.5 --- .../forms/CMS/Sub/Social/Network.php | 4 ++++ .../application/views/helpers/FooterMenu.php | 10 ++++++++-- .../views/scripts/common/footer.phtml | 6 +++--- less/102-footer.less | 18 ++++++++++++++++-- 4 files changed, 31 insertions(+), 7 deletions(-) diff --git a/framework/application/forms/CMS/Sub/Social/Network.php b/framework/application/forms/CMS/Sub/Social/Network.php index b7bbf56..14e188e 100644 --- a/framework/application/forms/CMS/Sub/Social/Network.php +++ b/framework/application/forms/CMS/Sub/Social/Network.php @@ -13,6 +13,10 @@ class Fluidbook_Form_CMS_Sub_Social_Network extends CubeIT_Form_SubForm { $url->setLabel('URL'); $this->addElement($url); + $couleur = new CubeIT_Form_Element_Color('color'); + $couleur->setLabel('Couleur'); + $this->addElement($couleur); + $icon = new CubeIT_Form_Element_File_Image('icon'); $icon->setLabel('Pictogramme'); $icon->setMaxItems(1); diff --git a/framework/application/views/helpers/FooterMenu.php b/framework/application/views/helpers/FooterMenu.php index 2de83df..40823f1 100644 --- a/framework/application/views/helpers/FooterMenu.php +++ b/framework/application/views/helpers/FooterMenu.php @@ -2,7 +2,7 @@ class Fluidbook_View_Helper_FooterMenu extends CubeIT_View_Helper_Abstract { - public function footerMenu($pageIDs, $title = null) { + public function footerMenu($pageIDs, $title = null, $titleLink = null) { if (empty($pageIDs)) return false; @@ -21,7 +21,13 @@ class Fluidbook_View_Helper_FooterMenu extends CubeIT_View_Helper_Abstract { $res = ''; // .contact-details // Menus $res .= $this->footerMenu($this->option('footer_menu_main'), __('Plan du site')); -$res .= $this->footerMenu($this->option('footer_menu_contact'), __('Contactez-nous')); +$res .= $this->footerMenu($this->option('footer_menu_contact'), __('Contactez-nous'), 'internal:contact'); $res .= '