79 lines
4.3 KiB
PHP
79 lines
4.3 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2020-01-26 09:15:59
|
|
compiled from "C:\inetpub\wwwroot\sophalcrm\includes\runtime/../../layouts/v7\modules\Vtiger\BreadCrumbs.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:13028990925e2d58cf6cde33-71069541%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'5b472c4d61c48a3b1e9333d7006d195f3e0b269b' =>
|
|
array (
|
|
0 => 'C:\\inetpub\\wwwroot\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Vtiger\\BreadCrumbs.tpl',
|
|
1 => 1520586670,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '13028990925e2d58cf6cde33-71069541',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'BREADCRUMB_ID' => 0,
|
|
'BREADCRUMB_LABELS' => 0,
|
|
'INDEX' => 0,
|
|
'FIRSTBREADCRUMB' => 0,
|
|
'ADDTIONALCLASS' => 0,
|
|
'ACTIVESTEP' => 0,
|
|
'CRUMBID' => 0,
|
|
'ZINDEX' => 0,
|
|
'STEPTEXT' => 0,
|
|
'MODULE' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_5e2d58cf725b4',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_5e2d58cf725b4')) {function content_5e2d58cf725b4($_smarty_tpl) {?>
|
|
|
|
<div id="<?php echo $_smarty_tpl->tpl_vars['BREADCRUMB_ID']->value;?>
|
|
" class="breadcrumb">
|
|
<ul class="crumbs">
|
|
<?php $_smarty_tpl->tpl_vars['ZINDEX'] = new Smarty_variable(9, null, 0);?>
|
|
<?php $_smarty_tpl->tpl_vars['STEPTEXT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['STEPTEXT']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['CRUMBID'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['BREADCRUMB_LABELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->total= $_smarty_tpl->_count($_from);
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->iteration=0;
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->index=-1;
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['index']=-1;
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['STEPTEXT']->key => $_smarty_tpl->tpl_vars['STEPTEXT']->value){
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['CRUMBID']->value = $_smarty_tpl->tpl_vars['STEPTEXT']->key;
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->iteration++;
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->index++;
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->first = $_smarty_tpl->tpl_vars['STEPTEXT']->index === 0;
|
|
$_smarty_tpl->tpl_vars['STEPTEXT']->last = $_smarty_tpl->tpl_vars['STEPTEXT']->iteration === $_smarty_tpl->tpl_vars['STEPTEXT']->total;
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['first'] = $_smarty_tpl->tpl_vars['STEPTEXT']->first;
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['index']++;
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['breadcrumbLabels']['last'] = $_smarty_tpl->tpl_vars['STEPTEXT']->last;
|
|
?>
|
|
<?php $_smarty_tpl->tpl_vars['INDEX'] = new Smarty_variable($_smarty_tpl->getVariable('smarty')->value['foreach']['breadcrumbLabels']['index'], null, 0);?>
|
|
<?php $_smarty_tpl->tpl_vars['INDEX'] = new Smarty_variable($_smarty_tpl->tpl_vars['INDEX']->value+1, null, 0);?>
|
|
<li class="step <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['breadcrumbLabels']['first']){?> first <?php echo $_smarty_tpl->tpl_vars['FIRSTBREADCRUMB']->value;?>
|
|
<?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['ADDTIONALCLASS']->value;?>
|
|
<?php }?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['breadcrumbLabels']['last']){?> last <?php }?> <?php if ($_smarty_tpl->tpl_vars['ACTIVESTEP']->value==$_smarty_tpl->tpl_vars['INDEX']->value){?>active<?php }?>"
|
|
id="<?php echo $_smarty_tpl->tpl_vars['CRUMBID']->value;?>
|
|
" data-value="<?php echo $_smarty_tpl->tpl_vars['INDEX']->value;?>
|
|
" style="z-index:<?php echo $_smarty_tpl->tpl_vars['ZINDEX']->value;?>
|
|
">
|
|
<a href="#">
|
|
<span class="stepNum"><?php echo $_smarty_tpl->tpl_vars['INDEX']->value;?>
|
|
</span>
|
|
<span class="stepText" title="<?php echo vtranslate($_smarty_tpl->tpl_vars['STEPTEXT']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
"><?php echo vtranslate($_smarty_tpl->tpl_vars['STEPTEXT']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<?php $_smarty_tpl->tpl_vars['ZINDEX'] = new Smarty_variable($_smarty_tpl->tpl_vars['ZINDEX']->value-1, null, 0);?>
|
|
<?php } ?>
|
|
</ul>
|
|
</div><?php }} ?>
|