text-transform:uppercase;\r
margin:0 0 7px;\r
}\r
-.info-area address{\r
+.info-area p{\r
line-height:26px;\r
margin:0 0 2px;\r
}\r
width: 228px;\r
}\r
#footer .timing .note p{margin:0;}\r
-#footer .timing .clients{\r
+#footer .timing .logos{\r
margin:0;\r
padding:0;\r
list-style:none;\r
}\r
-#footer .timing .clients li:first-child{margin:22px 0 0;}\r
-#footer .timing .clients li{\r
+#footer .timing .logos li:first-child{margin:22px 0 0;}\r
+#footer .timing .logos li{\r
display: inline-block;\r
vertical-align: middle;\r
margin:0 0 0 39px;\r
float:none;\r
}\r
-#footer .timing .clients img{display:block;}\r
+#footer .timing .logos img{display:block;}\r
#footer .info{\r
margin:0 auto;\r
width:981px;\r
padding:10px;
}
.slideshow .caption .holder{
- background: linear-gradient(to bottom, #51cdf8 0%,#46c6f2 31%,#2db6e6 81%,#28b3e3 100%);
+ background-image: linear-gradient(to bottom, #51cdf8 0%,#46c6f2 31%,#2db6e6 81%,#28b3e3 100%);
border-radius:233px;
width:233px;
height:194px;
[production]
+copyright = "©CCGM - Tous droits réservés"
longTitle.fr = "Centre de Cancérologie du Grand Montpellier"
description.fr = "Centre de Cancérologie du Grand Montpellier"
+footer.infos = "Infos pratiques"
+footer.horaires = "Le centre vous accueille du lundi au vendredi, de 8h à 19h.
+Permanence téléphonique le samedi, de 9h à 12h."
+footer.adresse.titre = "Centre de Cancérologie du Grand Montpellier"
+footer.adresse.contenu = "Clinique Clémentville
+25, rue de Clémentville
+34070 MONTPELLIER
+Tél : 04 67 92 61 55 - Fax : 04 67 92 95 06"
+footer.urgences.titre = "Urgences - Hospitalisation"
+footer.urgences.contenu = "Clinique tél : 08 26 88 88 84"
+footer.logos.0.nom = "Montpellier - Institut du sein"
+footer.logos.0.logo.4359.image = "5209f28f-institut-du-sein.png"
+footer.logos.0.url = "http://www.le-mis.fr"
+footer.logos.1.nom = "3C - Secteur libéral montpelliérais"
+footer.logos.1.logo.3349.image = "5209f2fb-3c.png"
+footer.logos.1.url = ""
+footer.logos.2.nom = "Onco Languedoc-Roussillon"
+footer.logos.2.logo.7181.image = "5209f33d-onco.png"
+footer.logos.2.url = "http://www.oncolr.org/"
$horaires->setLabel('Horaires');\r
$horaires->setAttrib('rows', 3);\r
$this->addElement($horaires);\r
+\r
+ $logos = new CCGM_Form_CMS_Sub_Footer_Logos();\r
+ $logos->setLabel('Logos');\r
+ $this->addSubForm($logos, 'logos');\r
}\r
\r
}
\ No newline at end of file
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Sub_Footer_Logo extends CubeIT_Form_SubForm {\r
+\r
+ public function init() {\r
+ parent::init();\r
+\r
+ $nom = new Zend_Form_Element_Text('nom');\r
+ $nom->setLabel('Nom');\r
+ $this->addElement($nom);\r
+\r
+ $logo = new CubeIT_Form_Element_File_Image('logo');\r
+ $logo->setLabel('Logo');\r
+ $this->addElement($logo);\r
+\r
+ $url = new CubeIT_Form_Element_Url('url');\r
+ $url->setLabel('URL');\r
+ $this->addElement($url);\r
+ }\r
+\r
+}
\ No newline at end of file
--- /dev/null
+<?php\r
+\r
+class CCGM_Form_CMS_Sub_Footer_Logos extends CubeIT_Form_Multi_SubForm {\r
+\r
+ public function init() {\r
+ parent::init();\r
+\r
+ $logo = new CCGM_Form_CMS_Sub_Footer_Logo();\r
+ $this->setBaseSubForm($logo);\r
+ $this->setBaseLegend('Edition du logo « $nom »');\r
+ $this->setNewLegend('Nouveau logo');\r
+ }\r
+\r
+}
\ No newline at end of file
</div>\r
<div class="info-area timing">\r
<div class="note"><p><?php echo nl2br($f['horaires']) ?></p></div>\r
- <ul class="clients">\r
- <li><a href="#"><img src="/images/client1.png" width="135" height="29" alt="Montpellier"></a></li>\r
- <li><a href="#"><img src="/images/client2.png" width="89" height="97" alt="3C"></a></li>\r
- <li><a href="#"><img src="/images/client3.png" width="58" height="55" alt="onco"></a></li>\r
- </ul>\r
+\r
+ <?php\r
+ $items = array();\r
+ foreach ($f['logos'] as $logo) {\r
+ $image = $this->imageCms($logo['logo'], $logo['nom'], -1, -1);\r
+ if ($logo['url'] == '') {\r
+ $item = $image;\r
+ } else {\r
+ $item = $this->link($image, $logo['url']);\r
+ }\r
+ $items[] = $item;\r
+ }\r
+ echo $this->listUnordered($items, array('class' => 'logos'));\r
+ ?>\r
+\r
</div>\r
</div>\r
</div>\r