<?php
/* Smarty version 3.1.34-dev-7, created on 2023-11-15 20:35:19
  from '/srv/www/htdocs/hul/admin/layout/templates/editlayout/sight.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_65551d77dd3546_58040627',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'de4cc20f0e2e385a692325d563ebefbd87638ba7' => 
    array (
      0 => '/srv/www/htdocs/hul/admin/layout/templates/editlayout/sight.html',
      1 => 1668505990,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_65551d77dd3546_58040627 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['sightloaded']->value == 0) {?>
<h3>Sichten</h3>
<p>
  Die sogenannten Sichten sind die HTML-Vorlagen für KuferWEB. Für jede Seite, 
  die mit KuferWEB dargestellt wird, gibt es hier eine entsprechende Vorlage.
  Die Sichten können hier nach Bedarf angepasst und geändert werden.
  Vor größeren Änderungen ist es empfehlenswert eine 
  "<a href="index.php?action=overview&sub=8">Sicherung</a>" der Sichten zu 
  erstellen. 
</p>

<p>
  Speicherort der Sichten: <b><?php echo $_smarty_tpl->tpl_vars['sightspath']->value;?>
</b>
</p>

<h3>Bearbeiten</h3>
<p>
  Das Menü links wurde nach Themen gruppiert. Wollen Sie zum Beispiel die 
  Kursdetails bearbeiten, finden Sie die entsprechenden Sichten unter dem 
  Menüpunkt "Kurse". Details zur Layoutstruktur finden Sie in unserer 
  Dokumentation, die sich auf Ihrer KuferWEB-CD befindet. Sie können die Dokumentation auch
  bei unserer Hotline anfordern können.
</p> 

<h3>Hinweis</h3>
<p>Bitte verwenden Sie zum Bearbeiten der Sichten die Browser ab folgenden Versionen:</p>
  <ul>
  <li>Internet Explorer 11</li>
  <li>Firefox 3.5</li>
  <li>Opera 9</li>
  <li>Safari 4</li>
  <li>Google Chrome 5</li>
  </ul>
  
<br />

<p class="center">
  Bitte wählen Sie einen Untermenüpunkt aus, um mit dem Bearbeiten der 
  Sichten zu beginnen.
</p>

<?php } else { ?>
<h3><?php echo $_smarty_tpl->tpl_vars['description']->value;?>
 (Sicht <?php echo $_smarty_tpl->tpl_vars['sightid']->value;?>
)</h3>

<form id="formsight" action="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
" method="post">

  <div class="sight">
    <div id="tabs">
      <ul>
      <?php
$__section_row_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['sightparts']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_row_0_total = $__section_row_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_row'] = new Smarty_Variable(array());
if ($__section_row_0_total !== 0) {
for ($__section_row_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] = 0; $__section_row_0_iteration <= $__section_row_0_total; $__section_row_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']++){
?>
      <li><a href="#tabs-<?php echo $_smarty_tpl->tpl_vars['sightparts']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] : null)]['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['sightparts']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] : null)]['name'];?>
</a></li>
      <?php
}
}
?>
      </ul>
    
      <?php
$__section_row_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['sightparts']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_row_1_total = $__section_row_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_row'] = new Smarty_Variable(array());
if ($__section_row_1_total !== 0) {
for ($__section_row_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] = 0; $__section_row_1_iteration <= $__section_row_1_total; $__section_row_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']++){
?>
      <div id="tabs-<?php echo $_smarty_tpl->tpl_vars['sightparts']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] : null)]['id'];?>
">
        <textarea name="<?php echo $_smarty_tpl->tpl_vars['sightparts']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] : null)]['id'];?>
" id="sight_<?php echo $_smarty_tpl->tpl_vars['sightparts']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] : null)]['id'];?>
" class="highlight html" rows="30" cols="80"><?php echo $_smarty_tpl->tpl_vars['sightparts']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_row']->value['index'] : null)]['value'];?>
</textarea>
        <br /><br />
        <div class="right_float">
          <input type="submit" name="showVarlist" value="Variablenliste" class="varlist" />
        </div>
        <input type="submit" name="savesight" value="Speichern" class="ajaxpost savesight" />
      </div>
      <?php
}
}
?>
    </div>
    <div class="maximize">
      <a href="<?php echo $_smarty_tpl->tpl_vars['selflink']->value;?>
" class="ui-icon ui-icon-copy">&nbsp;</a>
    </div>
    <p>
      <input type="hidden" name="sightid" value="<?php echo $_smarty_tpl->tpl_vars['sightid']->value;?>
" />
    </p>
  </div>

</form>

<div class="variablelist" title="Variablenliste">
  <div class="filter">
  Suche: <input class="filter" type="text" name="filter" value="" />
  <select class="filter" name="category">
    <option value="">Alle</option>
    <option value="akt_">akt_</option>
    <option value="anm_">anm_</option>
    <option value="aus_">aus_</option>
    <option value="b_">b_</option>
    <option value="bben_">bben_</option>
    <option value="bbest_">bbest_</option>
    <option value="bedit_">bedit_</option>
    <option value="ben_">ben_</option>
    <option value="bv_">bv_</option>
    <option value="bvedit_">bvedit_</option>
    <option value="count">count_</option>
    <option value="doz_">doz_</option>
    <option value="fachg_">fachg_</option>
    <option value="fbedit_">fbedit_</option>
    <option value="feedback_">feedback_</option>
    <option value="feedbackb_">feedbackb_</option>
    <option value="feedbackbf_">feedbackbf_</option>
    <option value="feedbackf_">feedbackf_</option>
    <option value="foto_">foto_</option>
    <option value="gfx_">gfx_</option>
    <option value="gh_">gh_</option>
    <option value="ghedit_">ghedit_</option>
    <option value="ghbest_">ghbest_</option>
    <option value="ghtbest_">ghtbest_</option>
    <option value="haus_">haus_</option>
    <option value="hedit_">hedit_</option>
    <option value="hon_">hon_</option>
    <option value="k_">k_</option>
    <option value="kal_">kal_</option>
    <option value="kat_">kat_</option>
    <option value="kateg_">kateg_</option>
    <option value="kd_">kd_</option>
    <option value="kfs_">kfs_</option>
    <option value="kg_">kg_</option>
    <option value="kh_">kh_</option>
    <option value="ki_">ki_</option>
    <option value="kiedit_">kiedit_</option>
    <option value="kort_">kort_</option>
    <option value="kt_">kt_</option>
    <option value="kz_">kz_</option>
    <option value="ll_">ll_</option>
    <option value="nbk_">nbk_</option>
    <option value="nbkf_">nbkf_</option>
    <option value="nl_">nl_</option>
    <option value="nlbest_">nlbest_</option>
    <option value="nledit_">nledit_</option>
    <option value="portrait_">portrait_</option>
    <option value="qual_">qual_</option>
    <option value="sbtn_">sbtn_</option>
    <option value="sw_">sw_</option>
    <option value="swue_">swue_</option>
    <option value="sys_">sys_</option>
    <option value="t_">t_</option>
    <option value="tbest_">tbest_</option>
    <option value="tedit_">tedit_</option>
    <option value="teditma_">teditma_</option>
    <option value="teditmehr_">teditmehr_</option>
    <option value="teditpa_">teditpa_</option>
    <option value="vhs_">vhs_</option>
    <option value="vk_">vk_</option>
    <option value="vks_">vks_</option>
    <option value="wk_">wk_</option>
  </select>
  </div>
  
  <div class="list">
    <!-- Hier werden per AJAX die Variablen angezeigt -->
  </div>
</div>

<?php }
}
}
