26 lines
1.3 KiB
Smarty
26 lines
1.3 KiB
Smarty
{*+**********************************************************************************
|
|
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
|
|
* ("License"); You may not use this file except in compliance with the License
|
|
* The Original Code is: vtiger CRM Open Source
|
|
* The Initial Developer of the Original Code is vtiger.
|
|
* Portions created by vtiger are Copyright (C) vtiger.
|
|
* All Rights Reserved.
|
|
*************************************************************************************}
|
|
|
|
<div id="{$BREADCRUMB_ID}" class="breadcrumb">
|
|
<ul class="crumbs">
|
|
{assign var=ZINDEX value=9}
|
|
{foreach key=CRUMBID item=STEPTEXT from=$BREADCRUMB_LABELS name=breadcrumbLabels}
|
|
{assign var=INDEX value=$smarty.foreach.breadcrumbLabels.index}
|
|
{assign var=INDEX value=$INDEX+1}
|
|
<li class="step {if $smarty.foreach.breadcrumbLabels.first} first {$FIRSTBREADCRUMB} {else} {$ADDTIONALCLASS} {/if} {if $smarty.foreach.breadcrumbLabels.last} last {/if} {if $ACTIVESTEP eq $INDEX}active{/if}"
|
|
id="{$CRUMBID}" data-value="{$INDEX}" style="z-index:{$ZINDEX}">
|
|
<a href="#">
|
|
<span class="stepNum">{$INDEX}</span>
|
|
<span class="stepText" title="{vtranslate($STEPTEXT,$MODULE)}">{vtranslate($STEPTEXT,$MODULE)}</span>
|
|
</a>
|
|
</li>
|
|
{assign var=ZINDEX value=$ZINDEX-1}
|
|
{/foreach}
|
|
</ul>
|
|
</div> |