<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title>Webadmin {if $ispreviewmode == 1} - [Vorschaumodus]{/if}</title>

  <link type="text/css" rel="stylesheet" href="layout/css/content.css?version={$version}" />
  <link rel="stylesheet" media="print" type="text/css" href="layout/css/print.css?version={$version}" />
  {if $ispreviewmode == 1}
  <link type="text/css" rel="stylesheet" href="layout/css/preview.css?version={$version}" />
  {/if}
  <link rel="stylesheet" media="all" type="text/css"
    href="../jquery/css/smoothness/jquery-ui-1.12.1.min.css?version={$version}" />
  <link rel="stylesheet" media="screen" type="text/css"
    href="../jquery/css/overcast/jquery-ui-1.8.custom.css?version={$version}" />
  <link rel="stylesheet" media="screen" type="text/css"
    href="../jquery/plugins/colorpicker/css/colorpicker.css?version={$version}" />


  <!-- Font-Awesome: Version 4; wird nicht mehr verwendet -->
  <!-- link rel="stylesheet" href="../kufertools/settings/sys/layout/css/font-awesome.min.css?version={$version}" / -->
  <!-- Upgrade auf Font-Awesome Version v5.8.2 -->
  <link rel="stylesheet" href="../kufertools/settings/sys/layout/css/fontawesome/all.min.css?version={$version}" />
  <link rel="stylesheet" href="../kufertools/settings/sys/layout/css/fontawesome/v4-shims.min.css?version={$version}" />

  <link type="text/css" rel="stylesheet" href="layout/css/index.css?version={$version}" />
  <link type="text/css" rel="stylesheet" href="layout/css/uidatepicker.css?version={$version}" />
  <link rel="stylesheet" type="text/css"
    href="../jquery/css/timepicker/jquery-ui-timepicker-addon.min.css?version={$version}" />

  <script type="text/javascript" src="../jquery/jquery-3.7.1.min.js?version={$version}"></script>
  <script type="text/javascript" src="../jquery/jquery-ui-1.13.2/jquery-ui.min.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/base64.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/global.js?version={$version}"></script>
  <script charset="UTF-8" src="../webtools/js/localization.js?version={$version}"></script>
  {if $action == "overview"}
  <script type="text/javascript" src="../extern/chart/chart.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/overview.js?version={$version}"></script>
  {/if}
  {if $action == "functions"}
  <script type="text/javascript" src="layout/js/functions.js?version={$version}"></script>
  {/if}
  {if $action == "settings"}
  <script type="text/javascript" src="../jquery/plugins/colorpicker/colorpicker.js?version={$version}"></script>
  <script type="text/javascript" src="../jquery/plugins/jquery-ui-timepicker-addon.min.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/settings.js?version={$version}"></script>
  {/if}
  {if $action == "editlayout"}
  <link rel="stylesheet" href="layout/codemirror/lib/codemirror.css?version={$version}" type="text/css" />
  <link rel="stylesheet" href="layout/codemirror/addon/display/fullscreen.css?version={$version}" type="text/css" />
  <script type="text/javascript" src="../jquery/plugins/typewatch.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/lib/codemirror.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/addon/display/fullscreen.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/javascript/javascript.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/xml/xml.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/css/css.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/htmlmixed/htmlmixed.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/editlayout.js?version={$version}"></script>
  {/if}
  {if $action == "tools"}
  <link rel="stylesheet" href="layout/codemirror/lib/codemirror.css?version={$version}" type="text/css" />
  <link rel="stylesheet" href="layout/codemirror/addon/display/fullscreen.css?version={$version}" type="text/css" />
  <link rel="stylesheet" type="text/css" href="../jquery/plugins/colorpicker/css/colorpicker.css?version={$version}" />
  <script type="text/javascript" src="../jquery/plugins/typewatch.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/lib/codemirror.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/addon/display/fullscreen.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/javascript/javascript.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/xml/xml.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/css/css.js?version={$version}"></script>
  <script type="text/javascript" src="layout/codemirror/mode/htmlmixed/htmlmixed.js?version={$version}"></script>
  <script type="text/javascript" src="../jquery/plugins/colorpicker/colorpicker.js?version={$version}"></script>
  <script type="text/javascript" src="../jquery/plugins/jquery-ui-timepicker-addon.min.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/tools.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/adminproject.js?version={$version}"></script>
  <script type="text/javascript" src="layout/js/stundenplanhandler.js?version={$version}"></script>
  {/if}

</head>

<body>

  {if $ispreviewmode == 1}
  <div class="status_warning">
    Der Vorschaumodus ist aktiv
  </div>
  {/if}
  {if $languageId>0}
  <div class="status_warning">
    Derzeit ausgew&auml;hlte Sprache: {$language}. Sichten und Einstellungen dieser Sprache werden bearbeitet.
  </div>
  {/if}

  <div id="main">
    <div id="head">
      <div id="logout">
        <form action="" method="post">
          <input type="hidden" name="authenticate" value="logout" />
          <input type="submit" name="logout" value="Abmelden" />
        </form>
        {if $previewmodeenabled == 1}
        <form action="index.php" method="get">
          <input type="hidden" name="action" value="functions" />
          <input type="hidden" name="sub1" value="1" />
          {if $ispreviewmode == 1}
          <input type="hidden" name="preview" value="turnoff" />
          <input type="submit" class="preview" name="submit" value="Vorschau aus" />
          {else}
          <input type="hidden" name="preview" value="turnon" />
          <input type="submit" class="preview" name="submit" value="Vorschau an" />
          {/if}
        </form>
        {/if}
        {if $languageId>0}
        <form action="index.php" method="get" class="msp_form">
          <input type="hidden" name="action" value="functions" />
          <input type="hidden" name="sub1" value="3" />
          <input type="hidden" name="admin_modus" value="{$admin_modus%10}" />
          <input type="submit" class="msp turnoff" name="submit" value="Fremdsprache aus" />
        </form>
        {/if}
      </div>
      {if $languageId>0}
      <div id="languagesign" class="{$language}"></div>
      {/if}
      <div id="caption">{$vhsname}</div>
    </div>

    <div id="nav1">
      {$navigation}
    </div>

    <div id="nav1gradient"></div>

    <div id="nav2">
      {$subnavigation}
    </div>

    <div id="content">
      <div id="content_inlay">
        {$content}
      </div>
      <div style="height:1px; clear:both;">&nbsp;</div>
    </div>

    <div id="foot">
      Copyright {$copyright}
    </div>
  </div>

</body>

</html>