Bug 13618: Remove html filters at the intranet
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / installer / auth.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; 
4     [% IF ( nopermission ) %]Access denied[% END %]
5     [% IF ( timed_out ) %]Session timed out[% END %]
6     [% IF ( different_ip ) %]IP address change[% END %]
7     [% IF ( invalid_username_or_password ) %]Invalid username or password[% END %]
8     [% IF ( loginprompt ) %]Log in to Koha[% END %]
9 </title>
10
11 [% INCLUDE 'installer-doc-head-close.inc' %]
12 <div id="login">
13 <h1><a>Koha [%- Koha.Version.release -%] installer</a></h1>
14 [% IF ( nopermission ) %]
15 <div id="login_error"><strong>Error: </strong>Unauthorized user <a href="/cgi-bin/koha/mainpage.pl?logout.x=1">click to log out</a></div>
16 [% END %]
17
18 [% IF ( timed_out ) %]
19 <div id="login_error"><strong>Error: </strong>Session timed out, please log in again</div>
20 [% END %]
21
22 [% IF ( different_ip ) %]
23 <div id="login_error"><strong>Error: </strong>IP address has changed, please log in again </div>
24 [% END %]
25
26 [% IF ( invalid_username_or_password ) %]
27 <div id="login_error"><strong>Error: </strong>Invalid username or password</div>
28 [% END %]
29
30 [% IF ( loginprompt ) %]
31 <!-- login prompt time-->
32 <form action="/cgi-bin/koha/installer/install.pl" method="post" name="mainform" id="mainform">
33 [% FOREACH INPUT IN INPUTS %]
34     <input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]" />
35 [% END %]
36 <h3>Welcome to the Koha web installer</h3>
37 <p>Before we begin, please verify you have the correct credentials to continue. Please log in
38 with the username and password given to you by your systems administrator and located in your
39 <code>koha-conf.xml</code> configuration file.</p>
40 <p>Please enter your username and password:</p>
41 <p><label>Username:<br />
42 <input type="text" name="userid" id="userid" class="input" value="[% userid %]" size="20" tabindex="1" /></label>
43 </p>
44 <p><label>Password:<br />
45 <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" /></label>
46 </p>
47 <p class="submit"><input id="submit" type="submit" value="Login" tabindex="4" /></p>
48 </form>
49
50 [% END %]
51
52 [% INCLUDE 'intranet-bottom.inc' %]