From f98252a579ff3ed430ba8522dfe116a0f042e4e7 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 1 Dec 2017 18:10:24 +0000 Subject: [PATCH] #1786 --- framework/application/forms/CMS/Home.php | 3 --- framework/application/forms/CMS/Sub/News/News.php | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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é')); -- 2.39.5