<a href="http://www.kivitendo.de" target="_top"><img src="image/kivitendo.png" border="0"></a>
<h1>[% 'kivitendo' | $T8 %] [% version %]</h1>
- [% IF error %]
- <p><span class="message_error_login">[% error %]</span></p>
- [% END %]
+[% IF error %]
+ <div class="message_error_login">[% HTML.escape(error) %]</div>
+[% END %]
+[% IF info %]
+ <div class="message_ok">[% HTML.escape(info) %]</div>
+[% END %]
[% IF SELF.clients.size %]
[%- SET style="width: 250px" %]
<table>
<tr>
<th align="right">[% 'Login Name' | $T8 %]</th>
- <td>[% L.input_tag('{AUTH}login', '', style=style) %]</td>
+ <td>[% L.input_tag('{AUTH}login', '', id='auth_login', style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Password' | $T8 %]</th>
<br>
<input type="hidden" name="action" value="LoginScreen/login">
- <input type="submit" value="[% 'Login' | $T8 %]" tabindex="3">
+ <input type="submit" value="[% 'Login' | $T8 %]">
</td>
</tr>
</td>
</tr>
</table>
- <script type='text/javascript'>
- $(function(){ $('#input_login').focus() })
- </script>