<?php
/* Smarty version 3.1.34-dev-7, created on 2023-11-15 20:29:52
  from '/srv/www/htdocs/hul/admin/layout/templates/settings/setting_search.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_65551c303b00d2_85150300',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'edd9346be999f6ff1fbb261fb0c74a7057d68570' => 
    array (
      0 => '/srv/www/htdocs/hul/admin/layout/templates/settings/setting_search.html',
      1 => 1665665618,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_65551c303b00d2_85150300 (Smarty_Internal_Template $_smarty_tpl) {
?><h3>Suche nach Einstellungen</h3>

<div class="settingsearch center">
  <form action="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
" method="post">
    <b>Suchbegriff</b>: <input type="text" id="searchword" name="settingsearch_searchword" value="<?php echo $_smarty_tpl->tpl_vars['searchword']->value;?>
" />
    <input type="submit" name="settingsearch_start" value="Suche" />
  </form>
</div>
<br />

<?php if ($_smarty_tpl->tpl_vars['start']->value == 1) {?>

<h3>Suchergebnis:</h3>

  <?php if ($_smarty_tpl->tpl_vars['count']->value > 0) {?>
  <p>
  Es wurden <b><?php echo $_smarty_tpl->tpl_vars['count']->value;?>
</b> Einstellungen gefunden.
  </p>
  
  <table width="100%">
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['menus']->value, 'menu');
$_smarty_tpl->tpl_vars['menu']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['menu']->value) {
$_smarty_tpl->tpl_vars['menu']->do_else = false;
?>
    <tr>
      <td>
        <ul>
          <li><?php echo $_smarty_tpl->tpl_vars['menu']->value;?>

            <ul>
              <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['configs']->value[$_smarty_tpl->tpl_vars['menu']->value], 'config');
$_smarty_tpl->tpl_vars['config']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['config']->value) {
$_smarty_tpl->tpl_vars['config']->do_else = false;
?>
              <li><?php echo $_smarty_tpl->tpl_vars['config']->value['title'];?>

                <ul>
                  <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['subgroups']->value[$_smarty_tpl->tpl_vars['config']->value['key']], 'subgroup');
$_smarty_tpl->tpl_vars['subgroup']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['subgroup']->value) {
$_smarty_tpl->tpl_vars['subgroup']->do_else = false;
?>
                  <li><?php echo $_smarty_tpl->tpl_vars['subgroup']->value['title'];?>

                    <ul>
                      <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['settings']->value[$_smarty_tpl->tpl_vars['subgroup']->value['key']], 'setting');
$_smarty_tpl->tpl_vars['setting']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['setting']->value) {
$_smarty_tpl->tpl_vars['setting']->do_else = false;
?>
                      <li><a href="<?php echo $_smarty_tpl->tpl_vars['config']->value['link'];?>
" title="Einstellung anzeigen"><?php echo $_smarty_tpl->tpl_vars['setting']->value;?>
</a></li>
                      <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
                    </ul>
                  </li>
                  <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
                </ul>
              </li>
              <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </ul>
          </li>
        </ul>
      </td>
    </tr>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
  </table>
  <?php } else { ?>
    Bei der Suche nach "<b><?php echo $_smarty_tpl->tpl_vars['searchword']->value;?>
</b>" wurden keine passenden Einstellungen gefunden.
  <?php }?>

<?php }
}
}
