<?php
/* Smarty version 4.3.4, created on 2024-08-26 10:58:17
  from '/var/www/html/users/ba/lazbw_marker_include/admin/layout/templates/settings/setting_search.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.4',
  'unifunc' => 'content_66cc43a93e9418_82438982',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '9c836688b3b5a0986dbc452bedb14c05ffb5220d' => 
    array (
      0 => '/var/www/html/users/ba/lazbw_marker_include/admin/layout/templates/settings/setting_search.html',
      1 => 1685518172,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66cc43a93e9418_82438982 (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 }
}
}
