<?php
/* Smarty version 4.3.4, created on 2025-03-11 11:13:46
  from '/www/htdocs/w015818d/kurse-wbi-bwl.de/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_67d00cda6591a2_31548021',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'e6526c0be01349e1470ce1cb52d70170dd0c9f85' => 
    array (
      0 => '/www/htdocs/w015818d/kurse-wbi-bwl.de/admin/layout/templates/settings/setting_search.html',
      1 => 1741679650,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_67d00cda6591a2_31548021 (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 }
}
}
