Изменил(а) на 'Хлебные крошки'

yurec 2023-03-03 19:42:50 +05:00
parent 8811006e14
commit 7c9045d130
1 changed files with 2 additions and 2 deletions

@ -18,9 +18,9 @@ $smarty->assign('Breadcrumb', \core::getBreadcrumb( 'tovar_category', $page[0]['
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Главная</a></li> <li class="breadcrumb-item"><a href="/">Главная</a></li>
<li class="breadcrumb-item"><a href="/tovat_cat/">Каталог</a></li> <li class="breadcrumb-item"><a href="/tovat_cat/1-0.html">Каталог</a></li>
{section name=customer loop=$Breadcrumb}{if ($Breadcrumb[customer].id && $Breadcrumb[customer].id!=$smarty.get.id)} {section name=customer loop=$Breadcrumb}{if ($Breadcrumb[customer].id && $Breadcrumb[customer].id!=$smarty.get.id)}
<li class="breadcrumb-item"><a href="/tovar_cat/{$Breadcrumb[customer].id}">{$Breadcrumb[customer].title}</a></li> <li class="breadcrumb-item"><a href="/tovar_cat/{$Breadcrumb[customer].id}-0.html">{$Breadcrumb[customer].title}</a></li>
{/if}{/section} {/if}{/section}
<li class="breadcrumb-item active" aria-current="page">{$page[0].title|substr:70}</li> <li class="breadcrumb-item active" aria-current="page">{$page[0].title|substr:70}</li>
</ol> </ol>