*/\r
public function homeCustomers($data) {\r
\r
- $this->data = $data;\r
+ $this->data = $data;\r
\r
- $res = $this->title($data['title']);\r
- $res .= $this->markupDotclear($data['content']);\r
- $res .= $this->linkCMS($data['button'], ['class' => 'btn', 'style' => 'background:'. $data['themecolor']]);\r
+ $res = $this->_leftText();\r
\r
- return $this->_layer($res, 'customers');\r
+ return $this->_layer($res, 'customers');\r
}\r
}
\ No newline at end of file
*/\r
public function homeFeatures($data) {\r
\r
- $this->data = $data;\r
+ $this->data = $data;\r
\r
- $res = $this->title($data['title']);\r
- $res .= $this->markupDotclear($data['content']);\r
- $res .= $this->linkCMS($data['button'], ['class' => 'btn', 'style' => 'background:'. $data['themecolor']]);\r
+ $res .= $this->_leftText();\r
\r
return $this->_layer($res, 'features');\r
}\r
public function homeServices($data) {\r
$this->data = $data;\r
\r
- $res = $this->title($data['title']);\r
- $res .= $this->markupDotclear($data['content']);\r
- $res .= $this->linkCMS($data['button'], ['class' => 'btn', 'style' => 'background:'. $data['themecolor']]);\r
+ $res=$this->_leftText();\r
\r
return $this->_layer($res, 'services');\r
}\r
}\r
\r
function resizeHomeReferences(ww, wh) {\r
+ wh -= 90;\r
var links = $("section.references .links");\r
$(links).css({width: wh, height: wh});\r
\r