From 89c9f182b397f8b4dd8979b3b3cf7ef992b08348 Mon Sep 17 00:00:00 2001
From: Jerome Nadaud
Date: Mon, 18 Nov 2013 15:35:03 +0100
Subject: [PATCH] // Small fix in live configurator toolbox
---
.../themeconfigurator/themeconfigurator.php | 2 +-
.../views/templates/hook/live_configurator.tpl | 18 +++---------------
2 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/modules/themeconfigurator/themeconfigurator.php b/modules/themeconfigurator/themeconfigurator.php
index ca1f0def3..0d94cf6c5 100644
--- a/modules/themeconfigurator/themeconfigurator.php
+++ b/modules/themeconfigurator/themeconfigurator.php
@@ -80,7 +80,7 @@ class ThemeConfigurator extends Module
$this->context->controller->addJS($this->_path.'js/live_configurator.js');
$this->smarty->assign(array(
- 'themes_colors' => unserialize(Configuration::get('PS_TC_THEMES_COLORS')),
+ 'themes' => unserialize(Configuration::get('PS_TC_THEMES')),
'themes_fonts' => unserialize(Configuration::get('PS_TC_THEMES_FONTS')),
'advertisement_image' => $this->_path.'/img/'.$this->context->language->iso_code.'/advertisement.png',
'advertisement_text' => $this->l('Over 500+ PrestaShop Premium Templates! Browse Now!')
diff --git a/modules/themeconfigurator/views/templates/hook/live_configurator.tpl b/modules/themeconfigurator/views/templates/hook/live_configurator.tpl
index eb2ccdb6a..6fec5fb49 100644
--- a/modules/themeconfigurator/views/templates/hook/live_configurator.tpl
+++ b/modules/themeconfigurator/views/templates/hook/live_configurator.tpl
@@ -41,10 +41,10 @@
- {if isset($themes_colors)}
+ {if isset($themes)}
- {foreach $themes_colors as $theme}
+ {foreach $themes as $theme}
-
@@ -60,24 +60,12 @@
-
{l s='Text page' mod='themeconfigurator'}
+
{l s='Global' mod='themeconfigurator'}
-
{l s='Text menu parrent normal' mod='themeconfigurator'}
-
-
{l s='Product name' mod='themeconfigurator'}
-