$text->setLabel('Texte');\r
$this->addElement($text);\r
\r
+ $button = new CubeIT_Form_Element_Link();\r
+ $button->setLabel('Bouton');\r
+ $this->addSubForm($button, 'button');\r
+\r
$image = new CubeIT_Form_Element_File_Image('image');\r
$image->setLabel('Image');\r
$image->setMaxItems(1);\r
\r
\r
}\r
-}
\ No newline at end of file
+}\r
{\r
$c = $this->htmlElement($d['title'], 'h3');\r
$c .= $this->markupDotclear($d['text']);\r
+ $c .= $this->linkCMS($d['button'], ['class' => 'feature-detail-button']);\r
$c = $this->htmlElement($c, 'div', ['class' => 'content']);\r
$image = $this->imageProcess($d['image'], $d['title'], 755 * 2, 1000 * 2, [], 'R');\r
\r
\r
return $this->htmlElement($res, 'article', ['class' => $imageRight ? 'iright' : 'ileft']);\r
}\r
-}
\ No newline at end of file
+}\r
}\r
}\r
}\r
-}
\ No newline at end of file
+\r
+ .feature-detail-button {\r
+ .border-button-fill(@color-text, @color-text, 5%);\r
+ .longarrow-button(12px, 40px, 18px);\r
+ margin-top: 1.5em;\r
+\r
+ &:hover {\r
+ color: @color-text;\r
+ }\r
+ }\r
+}\r