51 lines
2.3 KiB
PHP
51 lines
2.3 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:37:57
|
|
from 'C:\xampp\htdocs\hotelcommerce\admin\themes\default\template\controllers\stats\menu.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_649432954ba761_61037966',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'd9ad43a0db56ddae2ad1297cbe7e881aa56a1e07' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\stats\\menu.tpl',
|
|
1 => 1687433793,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_649432954ba761_61037966 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?><div id="container" class="row">
|
|
<div class="sidebar navigation col-md-3">
|
|
<nav class="list-group categorieList">
|
|
<?php if (count($_smarty_tpl->tpl_vars['modules']->value)) {?>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['modules']->value, 'module');
|
|
$_smarty_tpl->tpl_vars['module']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['module']->value) {
|
|
$_smarty_tpl->tpl_vars['module']->do_else = false;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['module_instance']->value[$_smarty_tpl->tpl_vars['module']->value['name']]) {?>
|
|
<a class="list-group-item<?php if (($_smarty_tpl->tpl_vars['current_module_name']->value && $_smarty_tpl->tpl_vars['current_module_name']->value == $_smarty_tpl->tpl_vars['module']->value['name'])) {?> active<?php }?>" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['current']->value, ENT_QUOTES, 'UTF-8', true);?>
|
|
&token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
|
|
&module=<?php echo $_smarty_tpl->tpl_vars['module']->value['name'];?>
|
|
"><?php echo $_smarty_tpl->tpl_vars['module_instance']->value[$_smarty_tpl->tpl_vars['module']->value['name']]->displayName;?>
|
|
</a>
|
|
<?php }?>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
<?php } else { ?>
|
|
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'No module has been installed.'),$_smarty_tpl ) );?>
|
|
|
|
<?php }?>
|
|
</nav>
|
|
</div><?php }
|
|
}
|