// Small fix in live configurator toolbox

This commit is contained in:
Jerome Nadaud
2013-11-18 15:35:03 +01:00
parent c4dab5f5a6
commit 89c9f182b3
2 changed files with 4 additions and 16 deletions
@@ -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!')
@@ -41,10 +41,10 @@
<i class="icon-caret-down pull-right"></i>
</p>
</div>
{if isset($themes_colors)}
{if isset($themes)}
<div id="color-box">
<ul>
{foreach $themes_colors as $theme}
{foreach $themes as $theme}
<li class="{$theme}">
<div class="color-theme1 color1"></div>
<div class="color-theme2 color2"> </div>
@@ -60,24 +60,12 @@
</p>
</div>
<div id="font-box">
<p>{l s='Text page' mod='themeconfigurator'}</p>
<p>{l s='Global' mod='themeconfigurator'}</p>
<select name="text-page-font" class="font-list">
{foreach $themes_fonts as $key => $font}
<option value="{$key}">{$font}</option>
{/foreach}
</select>
<p>{l s='Text menu parrent normal' mod='themeconfigurator'}</p>
<select name="text-menu-font" class="font-list">
{foreach $themes_fonts as $key => $font}
<option value="{$key}">{$font}</option>
{/foreach}
</select>
<p>{l s='Product name' mod='themeconfigurator'}</p>
<select name="product-name-font" class="font-list">
{foreach $themes_fonts as $key => $font}
<option value="{$key}">{$font}</option>
{/foreach}
</select>
</div>
<div class="btn-tools">
<button type="reset" class="btn btn-1">{l s='Reset' mod='themeconfigurator'}</button>