Skip to content

Commit

Permalink
Update to v1.6.2b
Browse files Browse the repository at this point in the history
Modif tpl (some smarty compilation errors now corrected)
  • Loading branch information
d1m007 committed Feb 22, 2016
1 parent 9d86d70 commit a5c0bd0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gshoppingflux/gshoppingflux.php
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ public function renderLangForm()
'form' => array(
'legend' => array(
'title' => $this->l('Language export settings'),
'icon' => 'icon-link'
'icon' => 'icon-globe'
),
'input' => array(
array(
Expand Down Expand Up @@ -1456,7 +1456,7 @@ public function renderCategList()

$fields_list = array(
'id_gcategory' => array(
'title' => $this->l('Category ID')
'title' => $this->l('ID')
)
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@

{block name="input"}
{if $input.type == 'switch' && isset($input.is_bool) && $input.is_bool == true && isset($input.disabled) && $input.disabled == true}
{if $fields_value[$input.name] == 1}
{$enab = $fields_value[$input.name]}
{if $enab == 1}
<img src="../img/admin/enabled.gif" alt="{$input.values[0].label}" title="{$input.values[0].label}" />
{else}
<img src="../img/admin/disabled.gif" alt="{$input.values[1].label}" title="{$input.values[1].label}" />
{/if}
<input type="hidden" name="{$input.name}" id="{$input.name}_{$fields_value[$input.name]}" value="{$fields_value[$input.name]}" />
{elseif $input.type == 'switch' && $smarty.const._PS_VERSION_|@addcslashes:'\'' < '1.6'}
{/if}
<input type="hidden" name="{$input.name}" id="{$input.name}_{$enab}" value="{$enab}" />
{elseif $input.type == 'switch' && $smarty.const._PS_VERSION_|@addcslashes:'\'' < '1.6'}
{foreach $input.values as $value}
<input type="radio" name="{$input.name}" id="{$input.name}_{$value.id}" value="{$value.value|escape:'html':'UTF-8'}"{if $fields_value[$input.name] == $value.value} checked="checked"{/if}{if isset($input.disabled) && $input.disabled} disabled="disabled"{/if} />
<label class="t" for="{$input.name}_{$value.id}">
Expand Down

0 comments on commit a5c0bd0

Please sign in to comment.