From: vincent@cubedesigners.com Date: Fri, 1 Dec 2017 18:10:24 +0000 (+0000) Subject: #1786 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f98252a579ff3ed430ba8522dfe116a0f042e4e7;p=ccgm.git #1786 --- diff --git a/framework/application/forms/CMS/Home.php b/framework/application/forms/CMS/Home.php index f63b747..6febcbf 100644 --- a/framework/application/forms/CMS/Home.php +++ b/framework/application/forms/CMS/Home.php @@ -9,9 +9,6 @@ class CCGM_Form_CMS_Home extends CCGM_Form_CMS { $carrousel->setLegend('Carrousel'); $this->addSubForm($carrousel, 'carrousel'); - $actualites = new CCGM_Form_CMS_Sub_Home_Actualites(); - $actualites->setLegend('Actualités'); - $this->addSubForm($actualites, 'actualites'); $blocs = new CCGM_Form_CMS_Sub_Home_Blocs(); $blocs->setLegend('Blocs de présentation'); diff --git a/framework/application/forms/CMS/Sub/News/News.php b/framework/application/forms/CMS/Sub/News/News.php index 2c1a8fb..8b70c96 100644 --- a/framework/application/forms/CMS/Sub/News/News.php +++ b/framework/application/forms/CMS/Sub/News/News.php @@ -28,6 +28,9 @@ class CCGM_Form_CMS_Sub_News_News extends CubeIT_Form_List_Model { $content->setLabel(__('Contents')); $this->addElement($content); + $link = new CubeIT_Form_Element_Link(); + $link->setLabel('Lien'); + $this->addSubForm($link,'link'); $this->setListTitle(__('Actualités')); $this->setNewTitle(__('Nouvelle actualité'));