2 [%- USE HTML %][%- USE L -%][%- USE LxERP -%]
3 [%- SET auth_client = '{AUTH}client' %]
4 [%- SET auth_login = '{AUTH}login' %]
6 <table class="login" border="3" cellpadding="20">
8 <td class="login" align="center">
9 <a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" class='kivitendo-logo' border="0"></a>
10 <h1>[% LxERP.t8('kivitendo v#1', version) %]</h1>
13 <div class="message_error_login">[% HTML.escape(error) %]</div>
16 <div class="message_hint">[% HTML.escape(warning) %]</div>
19 <div class="message_ok">[% HTML.escape(info) %]</div>
22 [% IF SELF.clients.size %]
23 [%- SET style="width: 250px" %]
24 <form method="post" name="loginscreen" action="controller.pl" target="_top">
26 <input type="hidden" name="show_dbupdate_warning" value="1">
33 <th align="right">[% 'Login Name' | $T8 %]</th>
34 <td>[% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', style=style, class='initial_focus') %]</td>
37 <th align="right">[% 'Password' | $T8 %]</th>
38 <td>[% L.input_tag('{AUTH}password', '', type='password', style=style) %]</td>
41 <th align="right">[% 'Client' | $T8 %]</th>
42 <td>[% L.select_tag('{AUTH}client_id', SELF.clients, title_key='name', default=SELF.default_client_id, style=style) %]</td>
47 <input type="hidden" name="action" value="LoginScreen/login">
48 <input type="submit" value="[% 'Login' | $T8 %]">
57 [% LxERP.t8("No clients have been created yet.") %]
58 [% LxERP.t8("Please do so in the administration area.") %]
62 <a href="controller.pl?action=Admin/login">[% LxERP.t8("Administration area") %]</a>
71 <a href="controller.pl?action=Admin/login" target="_top">[%- LxERP.t8('Administration area') %]</a>
73 <a href="doc/kivitendo-Dokumentation.pdf" target="_top">[%- LxERP.t8('Documentation') %]</a>
76 [% IF FORM.$auth_client %]
77 <script type='text/javascript'>
79 $('[name="{AUTH}client_id"] option').filter(function() {
80 return ($(this).text() === '[% FORM.$auth_client %]');
81 }).prop('selected', true);