]> _ Git - ccgm.git/commitdiff
#1786
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 1 Dec 2017 18:10:24 +0000 (18:10 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 1 Dec 2017 18:10:24 +0000 (18:10 +0000)
framework/application/forms/CMS/Home.php
framework/application/forms/CMS/Sub/News/News.php

index f63b747b67537322606b6024c0b2d3e25d72bf3f..6febcbf7987aca362496489bda1749fe8f5cdefb 100644 (file)
@@ -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');
index 2c1a8fb21363bd7c72b10b1578f42ba884ef6c4a..8b70c960950ab00ee599a7ec15c5390de9daa5c6 100644 (file)
@@ -28,6 +28,9 @@ class CCGM_Form_CMS_Sub_News_News extends CubeIT_Form_List_Model {
                $content->setLabel(__('Contents'));\r
                $this->addElement($content);\r
 \r
+               $link = new CubeIT_Form_Element_Link();\r
+               $link->setLabel('Lien');\r
+               $this->addSubForm($link,'link');\r
 \r
                $this->setListTitle(__('Actualités'));\r
                $this->setNewTitle(__('Nouvelle actualité'));\r