<?php
/* Smarty version 3.1.34-dev-7, created on 2023-11-15 18:51:58
  from '/srv/www/htdocs/hul/admin/layout/templates/settings/settingform.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_6555053e4deb45_41750487',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '4f77e9b5a8c367fcb955e5eaedc9b0835419dbd4' => 
    array (
      0 => '/srv/www/htdocs/hul/admin/layout/templates/settings/settingform.html',
      1 => 1668505990,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6555053e4deb45_41750487 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['groupname']->value != '') {?>

<?php if ((isset($_smarty_tpl->tpl_vars['status']->value)) && $_smarty_tpl->tpl_vars['status']->value == "error") {?>
<div class="status_error">
  <?php echo $_smarty_tpl->tpl_vars['messages']->value;?>

</div>
<?php } elseif ((isset($_smarty_tpl->tpl_vars['status']->value)) && $_smarty_tpl->tpl_vars['status']->value == "success") {?>
<div class="status_ok">
  <?php echo $_smarty_tpl->tpl_vars['messages']->value;?>

</div>
<?php }?>

<form id="settingsform" <?php if ((isset($_smarty_tpl->tpl_vars['multipart']->value)) && $_smarty_tpl->tpl_vars['multipart']->value == true) {?>enctype="multipart/form-data" <?php }?>action="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
"
  method="post">

  <?php
$__section_row1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['groups']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_row1_0_total = $__section_row1_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_row1'] = new Smarty_Variable(array());
if ($__section_row1_0_total !== 0) {
for ($__section_row1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] = 0; $__section_row1_0_iteration <= $__section_row1_0_total; $__section_row1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']++){
?>
  <h3><?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['subgroupname'];?>
</h3><div id="<?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['subgroupid'];?>
" class="subgroup"><?php
$__section_row2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items']) ? count($_loop) : max(0, (int) $_loop));
$__section_row2_1_total = $__section_row2_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_row2'] = new Smarty_Variable(array());
if ($__section_row2_1_total !== 0) {
for ($__section_row2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] = 0; $__section_row2_1_iteration <= $__section_row2_1_total; $__section_row2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']++){
?><div id="<?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['inputname'];?>
" class="settingrow <?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['classname'];?>
"><div class="description_help"><?php if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['description'] != '') {?><div class="description desc_<?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['typename'];?>
"><?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['description'];
if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['descriptionWithColonMark'] == 1) {?>:<?php }?></div><?php }
if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['help'] != '') {?><div class="detail"><?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['help'];?>
</div><?php }?></div><div class="input<?php if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['typename'] != '') {?> <?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['typename'];
}?>"><?php if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['beforeinput'] != '') {?><span class="beforinput"><?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['beforeinput'];?>
</span><?php }
echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['input'];
if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['afterinput'] != '') {?><span class="afterinput"><?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['afterinput'];?>
</span><?php }?></div><?php if ($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['additionalcontent'] != '') {?><div class="additionalcontent"><?php echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['items'][(isset($_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row2']->value['index'] : null)]['additionalcontent'];?>
</div><?php }?></div>
    <?php
}
}
?>
  </div>
  <?php ob_start();
echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['savebuttontitle'];
$_prefixVariable1 = ob_get_clean();
if ($_prefixVariable1 == "vonsqlkopieren") {?>
  <div class="right">
    <input <?php if ($_smarty_tpl->tpl_vars['noajaxpost']->value != 1) {?>class="ajaxpost" <?php }?> type="submit" name="kopiesql"
      title="Alle Einstellungen von KuferSQL übernehmen" value="Von KuferSQL kopieren" />
  </div>
  <?php } else {
ob_start();
echo $_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['hidesavebutton'];
$_prefixVariable2 = ob_get_clean();
if (!(isset($_smarty_tpl->tpl_vars['groups']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row1']->value['index'] : null)]['hidesavebutton'])) || !$_prefixVariable2) {?>
  <div class="right">
    <input <?php if ($_smarty_tpl->tpl_vars['noajaxpost']->value != 1) {?>class="ajaxpost" <?php }?> type="submit" name="savesettings"
      title="Alle Einstellungen dieser Seite übernehmen" value="Übernehmen" />
  </div>
  <?php }}?>
  <br />
  
  <?php
}
}
?>

</form>

<?php } else { ?>

Bitte wählen Sie eine Einstellungsgruppe aus!

<?php }
}
}
