<?php\r
\r
-class CCGM_Form_CMS_Listing extends CCGM_Form_CMS_Default {\r
+class CCGM_Form_CMS_Listing extends CCGM_Form_CMS_Text {\r
\r
public function init() {\r
parent::init();\r
+ \r
+ $this->removeSubForm('sidebar');\r
+ \r
+ $this->getElement('text')->setAttrib('rows', 6);\r
\r
$essais = new CCGM_Form_CMS_Sub_Listing_Listes();\r
$essais->setLegend('Essais');\r
$localisation->setLabel('Localisation');\r
$this->addElement($localisation);\r
\r
- $phase = new Zend_Form_Element_Text('phase');\r
+ $phase = new Zend_Form_Element_Select('phase');\r
+ $phase->setMultiOptions(array('I'=>'I','II'=>'II','III'=>'III','IV'=>'IV'));\r
$phase->setLabel('Phase');\r
$this->addElement($phase);\r
\r
\r
$essai = new CCGM_Form_CMS_Sub_Listing_Essai();\r
$this->setBaseSubForm($essai);\r
- $this->setBaseLegend('Edition de l\'essai $code');\r
+ $this->setBaseLegend('Edition de l\'essai « $code »');\r
$this->setNewLegend('Nouvel essai');\r
}\r
\r
$liste = new CCGM_Form_CMS_Sub_Listing_Liste();\r
$this->setBaseSubForm($liste);\r
$this->setNewLegend('Nouveau groupe d\'essais');\r
- $this->setBaseLegend('Edition du group $titre');\r
+ $this->setBaseLegend('Edition du groupe « $titre »');\r
}\r
\r
}\r
-<?php\r
-\r
-/* \r
- * To change this license header, choose License Headers in Project Properties.\r
- * To change this template file, choose Tools | Templates\r
- * and open the template in the editor.\r
- */\r
-\r
+<section id="content">\r
+ <div id="c">\r
+ <?php\r
+ echo $this->markupDotclear($this->text);\r
+ ?>\r
+ </div>\r
+ <?php echo $this->rightbar() ?>\r
+</section>
\ No newline at end of file