From 145fff04885da9d1975e9ca76e304b707ffae704 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 27 Jul 2016 10:50:08 +0000 Subject: [PATCH] wip #493 @0:05 --- framework/application/views/helpers/HomeCustomers.php | 8 +++----- framework/application/views/helpers/HomeFeatures.php | 6 ++---- framework/application/views/helpers/HomeServices.php | 4 +--- js/215-home-references.js | 1 + 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/framework/application/views/helpers/HomeCustomers.php b/framework/application/views/helpers/HomeCustomers.php index 84f2b37..2795a0c 100644 --- a/framework/application/views/helpers/HomeCustomers.php +++ b/framework/application/views/helpers/HomeCustomers.php @@ -6,12 +6,10 @@ class Fluidbook_View_Helper_HomeCustomers extends Fluidbook_View_Helper_HomeLaye */ public function homeCustomers($data) { - $this->data = $data; + $this->data = $data; - $res = $this->title($data['title']); - $res .= $this->markupDotclear($data['content']); - $res .= $this->linkCMS($data['button'], ['class' => 'btn', 'style' => 'background:'. $data['themecolor']]); + $res = $this->_leftText(); - return $this->_layer($res, 'customers'); + return $this->_layer($res, 'customers'); } } \ No newline at end of file diff --git a/framework/application/views/helpers/HomeFeatures.php b/framework/application/views/helpers/HomeFeatures.php index 40f9e4c..d6340c7 100644 --- a/framework/application/views/helpers/HomeFeatures.php +++ b/framework/application/views/helpers/HomeFeatures.php @@ -6,11 +6,9 @@ class Fluidbook_View_Helper_HomeFeatures extends Fluidbook_View_Helper_HomeLayer */ public function homeFeatures($data) { - $this->data = $data; + $this->data = $data; - $res = $this->title($data['title']); - $res .= $this->markupDotclear($data['content']); - $res .= $this->linkCMS($data['button'], ['class' => 'btn', 'style' => 'background:'. $data['themecolor']]); + $res .= $this->_leftText(); return $this->_layer($res, 'features'); } diff --git a/framework/application/views/helpers/HomeServices.php b/framework/application/views/helpers/HomeServices.php index 442d7f6..39a9384 100644 --- a/framework/application/views/helpers/HomeServices.php +++ b/framework/application/views/helpers/HomeServices.php @@ -7,9 +7,7 @@ class Fluidbook_View_Helper_HomeServices extends Fluidbook_View_Helper_HomeLayer public function homeServices($data) { $this->data = $data; - $res = $this->title($data['title']); - $res .= $this->markupDotclear($data['content']); - $res .= $this->linkCMS($data['button'], ['class' => 'btn', 'style' => 'background:'. $data['themecolor']]); + $res=$this->_leftText(); return $this->_layer($res, 'services'); } diff --git a/js/215-home-references.js b/js/215-home-references.js index 0899fd4..f64d938 100644 --- a/js/215-home-references.js +++ b/js/215-home-references.js @@ -5,6 +5,7 @@ function load_home_references() { } function resizeHomeReferences(ww, wh) { + wh -= 90; var links = $("section.references .links"); $(links).css({width: wh, height: wh}); -- 2.39.5