63 lines
3.0 KiB
PHP
63 lines
3.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 16:22:49
|
|
compiled from "C:\xampp\htdocs\sophalcrm\includes\runtime/../../layouts/v7\modules\Vtiger\partials\Menubar.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:95259687468d6bdd911ad10-54934728%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'da8144c89215b98361d40347b85ffc94db771d44' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Vtiger\\partials\\Menubar.tpl',
|
|
1 => 1758796685,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '95259687468d6bdd911ad10-54934728',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'MENU_STRUCTURE' => 0,
|
|
'SELECTED_CATEGORY_MENU_LIST' => 0,
|
|
'moduleModel' => 0,
|
|
'moduleName' => 0,
|
|
'translatedModuleLabel' => 0,
|
|
'MODULE' => 0,
|
|
'SELECTED_MENU_CATEGORY' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_68d6bdd9121bf',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_68d6bdd9121bf')) {function content_68d6bdd9121bf($_smarty_tpl) {?>
|
|
|
|
<?php if ($_smarty_tpl->tpl_vars['MENU_STRUCTURE']->value){?>
|
|
<?php $_smarty_tpl->tpl_vars["topMenus"] = new Smarty_variable($_smarty_tpl->tpl_vars['MENU_STRUCTURE']->value->getTop(), null, 0);?>
|
|
<?php $_smarty_tpl->tpl_vars["moreMenus"] = new Smarty_variable($_smarty_tpl->tpl_vars['MENU_STRUCTURE']->value->getMore(), null, 0);?>
|
|
|
|
<div id="modules-menu" class="modules-menu">
|
|
<?php $_smarty_tpl->tpl_vars['moduleModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['moduleModel']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['SELECTED_CATEGORY_MENU_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['moduleModel']->key => $_smarty_tpl->tpl_vars['moduleModel']->value){
|
|
$_smarty_tpl->tpl_vars['moduleModel']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['moduleModel']->key;
|
|
?>
|
|
<?php $_smarty_tpl->tpl_vars['translatedModuleLabel'] = new Smarty_variable(vtranslate($_smarty_tpl->tpl_vars['moduleModel']->value->get('label'),$_smarty_tpl->tpl_vars['moduleName']->value), null, 0);?>
|
|
<ul title="<?php echo $_smarty_tpl->tpl_vars['translatedModuleLabel']->value;?>
|
|
" class="module-qtip">
|
|
<li <?php if ($_smarty_tpl->tpl_vars['MODULE']->value==$_smarty_tpl->tpl_vars['moduleName']->value){?>class="active"<?php }else{ ?>class=""<?php }?>>
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['moduleModel']->value->getDefaultUrl();?>
|
|
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
|
">
|
|
<?php echo $_smarty_tpl->tpl_vars['moduleModel']->value->getModuleIcon();?>
|
|
|
|
<span><?php echo $_smarty_tpl->tpl_vars['translatedModuleLabel']->value;?>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<?php } ?>
|
|
</div>
|
|
<?php }?>
|
|
<?php }} ?>
|