public function init() {\r
parent::init();\r
\r
- $titre = new CubeIT_Form_Element_Textarea('ex_title');\r
- $titre->setLabel('Titre du bloc examples');\r
- $titre->setAttrib('rows', 2);\r
- $this->addElement($titre);\r
-\r
$details = new Fluidbook_Form_CMS_Sub_Features_FeatureDetails();\r
$details->setLabel('Détails');\r
$this->addSubForm($details, 'details');\r
\r
+ $blockquote = new CubeIT_Form_Element_Markitup('blockquote');\r
+ $blockquote->setLabel('Bloc de citation');\r
+ $this->addElement($blockquote);\r
+\r
$logos = new CubeIT_Form_Element_File_Image('features_logos');\r
$logos->setLabel('Logos');\r
$this->addElement($logos);\r
\r
+ $titre = new CubeIT_Form_Element_Textarea('ex_title');\r
+ $titre->setLabel('Titre du bloc références');\r
+ $titre->setAttrib('rows', 2);\r
+ $this->addElement($titre);\r
+\r
$category = new Fluidbook_Form_CMS_Sub_Exemples_CategorySelect('ex_category');\r
$category->setLabel('Catégorie de références');\r
$this->addElement($category);\r
$exemples->setLabel('Gestion des exemples');\r
$this->addElement($exemples);\r
}\r
-}
\ No newline at end of file
+}\r
\r
$res = $this->introBlock($this->intro);\r
$res .= $this->featureDetails($this->details);\r
+\r
+if ($this->blockquote) {\r
+ $res .= $this->htmlElement($this->markupDotclear($this->blockquote), 'blockquote', ['class' => 'features-blockquote']);\r
+}\r
+\r
$res .= $this->logos($this->features_logos);\r
$res .= $this->exemples($this->ex_category, $this->ex_title, $this->ex_count);\r
$res .= $this->contactFooter();\r
\r
-echo $res;
\ No newline at end of file
+echo $res;\r
}\r
}\r
}\r
+\r
+.features-blockquote {\r
+ background-color: #f3f3f3;\r
+ padding: 2.678555em 2em;\r
+ color: #66727a;\r
+ font-family: 'Open Sans', sans-serif;\r
+ font-weight: 400;\r
+ font-size: 1.4em;\r
+ text-align: center;\r
+ line-height: 1.6;\r
+\r
+ @media @m900 {\r
+ font-size: 1.1em;\r
+ }\r
+\r
+ div {\r
+ max-width: 80ch;\r
+ margin: 0 auto;\r
+ }\r
+\r
+}\r