From b5d84a72e0a33198aaf2ad9198d153f28f9ac756 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Fri, 15 Nov 2013 15:31:01 +0100 Subject: [PATCH] // AddShareThis fix --- modules/addsharethis/addsharethis.php | 66 +++++++++++++++++---------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/modules/addsharethis/addsharethis.php b/modules/addsharethis/addsharethis.php index 3abb04d33..9fc8d1d25 100644 --- a/modules/addsharethis/addsharethis.php +++ b/modules/addsharethis/addsharethis.php @@ -35,6 +35,7 @@ class AddShareThis extends Module $this->author = 'Custom'; $this->tab = 'front_office_features'; $this->need_instance = 0; + $this->bootstrap = true; $this->_directory = dirname(__FILE__); parent::__construct(); $this->displayName = $this->l('Add Sharethis'); @@ -74,7 +75,7 @@ class AddShareThis extends Module public function getContent() { - $this->_html .= '

'.$this->displayName.'

'; + $this->_html = '

'.$this->displayName.'

'; if (Tools::isSubmit('submitCog')) { $this->updateCog(); @@ -82,34 +83,49 @@ class AddShareThis extends Module } $this->_html .= ' -
- '.$this->l('Configuration').' -
-
- '.$this->l('(Key in your account statistic http://sharethis.com)').' -


- -
- -


-
- - +
+

'.$this->l('Configuration').'

+ +

+
+ +
+
-
- - +
+
+
+

'.$this->l('Key in your account statistic http://sharethis.com').'

-
- - +
+
+
+ +
-
- - +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
-

-
';