19 lines
836 B
Smarty
19 lines
836 B
Smarty
<ul class="breadcrumbs">
|
|
{foreach $breadcrumbs as $item}
|
|
{if in_array($breadcrumbs[1].ID, [1,2,4]) and $item@first}{continue}{/if}
|
|
{if $item.link and $item@index == 0 and !$hide_home}
|
|
<li><a href="{$item.link}" title="{t}Zpět na úvod{/t}">{$home|default:"{t}Úvod{/t}"}</a></li>
|
|
{elseif $item@last and $body.product.model_short_title}
|
|
<li class="active">{$body.product.model_short_title}</li>
|
|
{elseif $item@last and !$hide_last}
|
|
<li class="active">{$item.text}</li>
|
|
{elseif $item.link}
|
|
<li><a href="{$item.link}" title="{t kategorii=$item.text}Zpět na {kategorii}{/t}">{$item.text}</a></li>
|
|
{/if}
|
|
{foreachelse}
|
|
<li>
|
|
<a href="{url s=index}" title="{t}Zpět na úvod{/t}">{$home|default:"{t}Úvod{/t}"}</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|