<?php
/* Smarty version 4.3.4, created on 2025-03-11 11:14:09
  from '/www/htdocs/w015818d/kurse-wbi-bwl.de/admin/layout/templates/settings/settingform.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.4',
  'unifunc' => 'content_67d00cf1a5d9d6_54681135',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'cd20762ca98997321d2362dd193903f4c9326bb2' => 
    array (
      0 => '/www/htdocs/w015818d/kurse-wbi-bwl.de/admin/layout/templates/settings/settingform.html',
      1 => 1741679650,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_67d00cf1a5d9d6_54681135 (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 }
}
}
