Login Bookmark Parameter auf {AUTH} Präfix umgestellt
[kivitendo-erp.git] / templates / webpages / login_screen / user_login.html
index 94688e2..24ba16d 100644 (file)
@@ -1,5 +1,7 @@
 [%- 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>
@@ -29,7 +31,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>