[% include file="header.tpl %]

      <!-- ###CONTENT### begin -->  
  <div id="content">
    <form id="login" autocomplete="off" action="[% $action %]" method="post" name="hm" >

      <h1><span class="login">[% $lang->gettext('Login') %]</span></h1>
      <p>
        <label for="login">[% $lang->gettext('Benutzername') %]</label>
        <input type="text"  value="[% $Username %]" name="lx_username" class="textbox logon" placeholder="Benutzername oder E-Mail" size="25" maxlength="255" autocomplete="off" />
      </p>
      <p>
        <label for="password">[% $lang->gettext('Passwort') %]</label>
        <input type="password" name="lx_password" value="[% $Password %]" class="textbox password" placeholder="Passwort" size="25" maxlength="50" autocomplete="off" />
      </p>
       [% if $errorno == 2 %]
           <p class="error">
           [% $error %]
           </p>
       [% /if %]
       
       [% if $Tools->FCS_Count($domains) %]
            <p>
            <label>[% $lang->gettext('Domain') %]:</label><br />
            <select size="1" name="lx_domain" class="textbox">         
                [% html_options options=$domains %]           
                <option value="">[% $lang->gettext('&gt;&gt; ohne Domain &lt;&lt;') %]</option>
            </select>          
            </p>
        [% /if %]
            
        [% if $errorno == 1 %]
            <p class="error">[% $error %]</p>
        [% /if %]
        
            [% if $remember_me == 1 %]
                <p class="opt">
                  <input type="checkbox" name="lx_rememberme" class="checkbox" value="1" /> [% $lang->gettext('Anmeldung merken') %]
                </p>                
            [% /if %]       
            
      <p class="clearfix">
        <input type="submit" name="submit" value="Anmelden" class="button button-orange">
            [% if $MailActive && $PwdRecover %]
                    <input type="button" class="button button-orange" onclick="window.location.href='index.php?option=pwdrecover';" value="[% $lang->gettext('Passwort vergessen ?') %]" />
            [% /if %]            
            [% if $UserCreate && $MailActive %]
                <a href="index.php?option=createuser" class="button button-green register">Registrieren</a>  
            [% /if %]  
             
      </p>
    </form>
  </div>
  <!-- ###CONTENT### end -->
  
  
[% include file="footer.tpl %]
