GX-Bug #45247 » CategoryIconSizeFix.patch
src/templates/EyeCandy/boxes/box_categories_left.html (revision ) | ||
---|---|---|
5 | 5 |
{foreach name=cat_data item=categories_item from=$content_data.CATEGORIES_DATA} |
6 | 6 |
<li id="menu_cat_id_{$categories_item.data.id}" class="{if $smarty.foreach.cat_data.first}first{elseif $smarty.foreach.cat_data.last}last{/if}" > |
7 | 7 |
<h4> |
8 |
{if $categories_item.data.icon}<img src="{$categories_item.data.icon}" width="{$categories_item.data.icon_w}" height="{$categories_item.data.icon_h}" alt="" />{/if}<a href="{$categories_item.data.url}" rel="{$categories_item.data.id}" {if $categories_item.data.meta_description != ''} title="{$categories_item.data.meta_description|truncate:80:"..."|replace:'"':'"'}"{/if} class="{if $categories_item.children|@count > 0}parent{/if}{if $categories_item.data.id == $content_data.category_id} current{/if}">{$categories_item.data.name|replace:"&":"&"|replace:"&":"&"}{if $categories_item.data.products_count} ({$categories_item.data.products_count}){/if}</a>
|
|
8 |
{if $categories_item.data.icon}<img src="{$categories_item.data.icon}" alt="" />{/if}<a href="{$categories_item.data.url}" rel="{$categories_item.data.id}" {if $categories_item.data.meta_description != ''} title="{$categories_item.data.meta_description|truncate:80:"..."|replace:'"':'"'}"{/if} class="{if $categories_item.children|@count > 0}parent{/if}{if $categories_item.data.id == $content_data.category_id} current{/if}">{$categories_item.data.name|replace:"&":"&"|replace:"&":"&"}{if $categories_item.data.products_count} ({$categories_item.data.products_count}){/if}</a> |
|
9 | 9 |
</h4> |
10 | 10 |
</li> |
11 | 11 |
{/foreach} |