{if $selected_category.description}
{include file="header.tpl.html" header=$smarty.const.STRING_CATEGORY_DESK}
{if $selected_category.picture}{/if}{$selected_category.description} |
{/if}
меняем на
{if $selected_category.description}
{include file="header.tpl.html" header=$smarty.const.STRING_CATEGORY_DESK}
{if $selected_category.picture}{/if}{$selected_category.description} |
{assign var=current_cat_parent value=$selected_category.parent} {assign var="sett" value=0} {section name=h loop=$big_categories_tree.$current_cat_parent} {if $big_categories_tree.$current_cat_parent[h].parent eq $selected_category.categoryID} {if $sett eq 1} | {else}{assign var="sett" value=1}{/if} {if $smarty.const.CONF_MOD_REWRITE eq 1}category_{$big_categories_tree.$current_cat_parent[h].categoryID}.html{else}index.php?categoryID={$big_categories_tree.$current_cat_parent[h].categoryID}{/if} {/if} {/section} |
{/if}