// Small fix in live configurator toolbox
This commit is contained in:
@@ -80,7 +80,7 @@ class ThemeConfigurator extends Module
|
|||||||
$this->context->controller->addJS($this->_path.'js/live_configurator.js');
|
$this->context->controller->addJS($this->_path.'js/live_configurator.js');
|
||||||
|
|
||||||
$this->smarty->assign(array(
|
$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')),
|
'themes_fonts' => unserialize(Configuration::get('PS_TC_THEMES_FONTS')),
|
||||||
'advertisement_image' => $this->_path.'/img/'.$this->context->language->iso_code.'/advertisement.png',
|
'advertisement_image' => $this->_path.'/img/'.$this->context->language->iso_code.'/advertisement.png',
|
||||||
'advertisement_text' => $this->l('Over 500+ PrestaShop Premium Templates! Browse Now!')
|
'advertisement_text' => $this->l('Over 500+ PrestaShop Premium Templates! Browse Now!')
|
||||||
|
|||||||
@@ -41,10 +41,10 @@
|
|||||||
<i class="icon-caret-down pull-right"></i>
|
<i class="icon-caret-down pull-right"></i>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{if isset($themes_colors)}
|
{if isset($themes)}
|
||||||
<div id="color-box">
|
<div id="color-box">
|
||||||
<ul>
|
<ul>
|
||||||
{foreach $themes_colors as $theme}
|
{foreach $themes as $theme}
|
||||||
<li class="{$theme}">
|
<li class="{$theme}">
|
||||||
<div class="color-theme1 color1"></div>
|
<div class="color-theme1 color1"></div>
|
||||||
<div class="color-theme2 color2"> </div>
|
<div class="color-theme2 color2"> </div>
|
||||||
@@ -60,24 +60,12 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="font-box">
|
<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">
|
<select name="text-page-font" class="font-list">
|
||||||
{foreach $themes_fonts as $key => $font}
|
{foreach $themes_fonts as $key => $font}
|
||||||
<option value="{$key}">{$font}</option>
|
<option value="{$key}">{$font}</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</select>
|
</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>
|
||||||
<div class="btn-tools">
|
<div class="btn-tools">
|
||||||
<button type="reset" class="btn btn-1">{l s='Reset' mod='themeconfigurator'}</button>
|
<button type="reset" class="btn btn-1">{l s='Reset' mod='themeconfigurator'}</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user