{if file_exists("templates/$template/includes/overwrites/breadcrumb.tpl")}
    {include file="{$template}/includes/overwrites/breadcrumb.tpl"}  
{else}
    {if !isset($RSThemes['addonSettings']['hide_breadcrumbs']) || $RSThemes['addonSettings']['hide_breadcrumbs'] != "enabled"}
        <ol class="breadcrumb">
            {foreach $breadcrumb as $item}
                <li {if $item@last} class="active"{/if}>
                    {if !$item@last}
                        <a tabindex="0" href="{$item.link}">{$item.label}</a>
                    {else}
                        {if $templatefile == 'viewinvoice' && isset($invoicenum)}
                            {$LANG.invoicenumber}{$invoicenum}
                        {else}
                            {$item.label}
                        {/if}
                    {/if}
                </li>
            {/foreach}
        </ol>
    {/if}
{/if}