<?php
/* Smarty version 3.1.48, created on 2023-11-13 08:12:49
  from '/var/www/html/users/ba/lazbw/admin/layout/templates/subnavigation.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.48',
  'unifunc' => 'content_6551cc71c68850_09727243',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'abbd9dc8bdfc10128684c1443faf4d7a75ac1094' => 
    array (
      0 => '/var/www/html/users/ba/lazbw/admin/layout/templates/subnavigation.html',
      1 => 1699524444,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6551cc71c68850_09727243 (Smarty_Internal_Template $_smarty_tpl) {
if (!(isset($_smarty_tpl->tpl_vars['nodbconnection']->value)) || $_smarty_tpl->tpl_vars['nodbconnection']->value == 0) {?>
<ul class="level<?php echo $_smarty_tpl->tpl_vars['level']->value;?>
">
  <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['navitems']->value, 'navItem');
$_smarty_tpl->tpl_vars['navItem']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['navItem']->value) {
$_smarty_tpl->tpl_vars['navItem']->do_else = false;
?>
  <?php if ($_smarty_tpl->tpl_vars['navItem']->value['isspacer'] == 1) {?>
  <li class="spacer">&nbsp;</li>
  <?php } else { ?>
  <li>
    <?php if ($_smarty_tpl->tpl_vars['navItem']->value['hassubitems'] == 1) {?>
    <div class="fold ui-icon ui-icon-circle-plus">&nbsp;</div>
    <?php }?>
    <?php if (!$_smarty_tpl->tpl_vars['navItem']->value['islocked']) {?>
    <a class="<?php if ($_smarty_tpl->tpl_vars['navItem']->value['hassubitems'] == 1) {?>hassubitems<?php } else { ?>hasnosubitems<?php }
if ($_smarty_tpl->tpl_vars['navItem']->value['isactive'] == 1) {?> active<?php }?>" href="<?php echo $_smarty_tpl->tpl_vars['navItem']->value['link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['navItem']->value['name'];?>
">
      <?php echo $_smarty_tpl->tpl_vars['navItem']->value['name'];?>

    </a>
    <?php echo $_smarty_tpl->tpl_vars['navItem']->value['subnav'];?>

    <?php } else { ?>
      <span class="locked"><?php echo $_smarty_tpl->tpl_vars['navItem']->value['name'];?>
</a>
    <?php }?>
  </li>
  <?php }?>
  <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php } else { ?>

<div id="nodbconnection">
  <p>
    Aktuell besteht keine Datenbank-verbindung. Alle Menüfunktionen wurden daher deaktiviert.
  </p>
  <p>
    Bitte geben Sie die Datenbank-verbindung an.  
  </p>
</div>

<?php }
}
}
