CSV-Import von zusätzlichen Rechnungsadressen
[kivitendo-erp.git] / templates / webpages / login_screen / user_login.html
index 94688e2..20c63f1 100644 (file)
@@ -1,10 +1,12 @@
 [%- USE T8 %]
 [%- USE HTML %][%- USE L -%][%- USE LxERP -%]
+[%- SET auth_client = '{AUTH}client' %]
+[%- SET auth_login  = '{AUTH}login'  %]
  <center>
   <table class="login" border="3" cellpadding="20">
    <tr>
     <td class="login" align="center">
-     <a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" border="0"></a>
+     <a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" class='kivitendo-logo' border="0"></a>
      <h1>[% LxERP.t8('kivitendo v#1', version) %]</h1>
 
 [% IF error %]
@@ -22,6 +24,7 @@
       <form method="post" name="loginscreen" action="controller.pl" target="_top">
 
        <input type="hidden" name="show_dbupdate_warning" value="1">
+       [% L.hidden_tag("callback", callback) %]
 
        <table width="100%">
         <tr>
@@ -29,7 +32,7 @@
           <table>
            <tr>
             <th align="right">[% 'Login Name' | $T8 %]</th>
-            <td>[% L.input_tag('{AUTH}login', FORM.login, id='auth_login', style=style, class='initial_focus') %]</td>
+            <td>[% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', style=style, class='initial_focus') %]</td>
            </tr>
            <tr>
             <th align="right">[% 'Password' | $T8 %]</th>
    <a href="doc/kivitendo-Dokumentation.pdf" target="_top">[%- LxERP.t8('Documentation') %]</a>
   </p>
 
-[% IF FORM.client %]
+[% IF FORM.$auth_client %]
 <script type='text/javascript'>
 $(function() {
   $('[name="{AUTH}client_id"] option').filter(function() {
-     return ($(this).text() === '[% FORM.client %]');
+     return ($(this).text() === '[% FORM.$auth_client %]');
   }).prop('selected', true);
 });
 </script>