$templates = array();
$templates['Génériques'] = array('text' => 'Page de texte', 'liens' => 'Liens', 'faq' => 'Questions / Réponses', 'temoignages' => 'Témoignages');
$templates['Accueil'] = array('home' => 'Page d\'accueil');
- $templates['Le centre'] = array('equipes' => 'L\'équipe');
+ $templates['Le centre'] = array('equipes' => 'L\'équipe','reunion'=>'Réunion de concertation');
+ $templates['Recherche clinique'] = array('listing' => 'Listing');
$templates['Parcours patient'] = array('parcours' => 'Parcours', 'soins' => 'Soins support');
$templates['Traitements'] = array('traitement' => 'Traitement (Texte avec accordéon)');
$templates['Infos pratiques'] = array('plan' => 'Plan du centre',
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Listing extends CCGM_Form_CMS_Default {\r
+\r
+ public function init() {\r
+ parent::init();\r
+\r
+ $essais = new CCGM_Form_CMS_Sub_Listing_Listes();\r
+ $essais->setLegend('Essais');\r
+ $this->addSubForm($essais, 'listes');\r
+ }\r
+\r
+}\r
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Reunion extends CCGM_Form_CMS_Default{\r
+ public function init(){\r
+ parent::init();\r
+ }\r
+}
\ No newline at end of file
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Sub_Listing_Essai extends CubeIT_Form_SubForm {\r
+\r
+ public function init() {\r
+ parent::init();\r
+\r
+ $titre = new Zend_Form_Element_Textarea('titre');\r
+ $titre->setAttrib('rows', 3);\r
+ $titre->setAttrib('rows', 3);\r
+ $titre->setLabel('Titre');\r
+ $this->addElement($titre);\r
+\r
+ $code = new Zend_Form_Element_Text('code');\r
+ $code->setLabel('Code');\r
+ $this->addElement($code);\r
+\r
+ $localisation = new Zend_Form_Element_Text('localisation');\r
+ $localisation->setLabel('Localisation');\r
+ $this->addElement($localisation);\r
+\r
+ $phase = new Zend_Form_Element_Text('phase');\r
+ $phase->setLabel('Phase');\r
+ $this->addElement($phase);\r
+\r
+ $promoteur = new Zend_Form_Element_Text('promoteur');\r
+ $promoteur->setLabel('Promoteur');\r
+ $this->addElement($promoteur);\r
+ }\r
+\r
+}\r
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Sub_Listing_Essais extends CubeIT_Form_Multi_SubForm {\r
+\r
+ public function init() {\r
+ parent::init();\r
+\r
+ $essai = new CCGM_Form_CMS_Sub_Listing_Essai();\r
+ $this->setBaseSubForm($essai);\r
+ $this->setBaseLegend('Edition de l\'essai $code');\r
+ $this->setNewLegend('Nouvel essai');\r
+ }\r
+\r
+}\r
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Sub_Listing_Liste extends CubeIT_Form_SubForm {\r
+\r
+ public function init() {\r
+ parent::init();\r
+\r
+ $titre = new Zend_Form_Element_Text('titre');\r
+ $titre->setLabel('Titre');\r
+ $this->addElement($titre);\r
+\r
+ $essais = new CCGM_Form_CMS_Sub_Listing_Essais();\r
+ $essais->setLegend('Essais');\r
+ $this->addSubForm($essais, 'essais');\r
+ }\r
+\r
+}\r
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Sub_Listing_Listes extends CubeIT_Form_Multi_SubForm {\r
+\r
+ public function init() {\r
+ parent::init();\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
+ }\r
+\r
+}\r
--- /dev/null
+<?php\r
+\r
+if ($this->acl()->isAllowed('edition')) {\r
+ $this->headScript()->addCommonsAdmin();\r
+}\r
+$this->headScript()->addTooltip();\r
+$this->headMeta()->setViewport(1024);\r
+$this->headScript()->addWebFont(array('google' => array('families' => array('Ubuntu:500italic,300,300italic,500,400italic'))));\r
+$this->headScript()->addIEConditionnals();\r
+$this->headScript()->appendFile('/js/common.js');\r
+$this->headLink()->appendStylesheet('/less/common.less', 'all');\r
+\r
+\r
+profile(__FILE__, __LINE__, 'Before rendering body');\r
+$res = $this->htmlPage($this->render('common/body.phtml'));\r
+profile(__FILE__, __LINE__, 'Body rendered');\r
+echo $res;\r
+endProfile();\r
--- /dev/null
+<?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
--- /dev/null
+<?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