7db851ff03
Signed-off-by: Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
52 lines
2 KiB
Text
52 lines
2 KiB
Text
[% USE Koha %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha ›
|
|
[% IF ( nopermission ) %]Access denied[% END %]
|
|
[% IF ( timed_out ) %]Session timed out[% END %]
|
|
[% IF ( different_ip ) %]IP address change[% END %]
|
|
[% IF ( invalid_username_or_password ) %]Invalid username or password[% END %]
|
|
[% IF ( loginprompt ) %]Log in to Koha[% END %]
|
|
</title>
|
|
|
|
[% INCLUDE 'installer-doc-head-close.inc' %]
|
|
<div id="login">
|
|
<h1><a>Koha [%- Koha.Version.release -%] installer</a></h1>
|
|
[% IF ( nopermission ) %]
|
|
<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>
|
|
[% END %]
|
|
|
|
[% IF ( timed_out ) %]
|
|
<div id="login_error"><strong>Error: </strong>Session timed out, please log in again</div>
|
|
[% END %]
|
|
|
|
[% IF ( different_ip ) %]
|
|
<div id="login_error"><strong>Error: </strong>IP address has changed, please log in again </div>
|
|
[% END %]
|
|
|
|
[% IF ( invalid_username_or_password ) %]
|
|
<div id="login_error"><strong>Error: </strong>Invalid username or password</div>
|
|
[% END %]
|
|
|
|
[% IF ( loginprompt ) %]
|
|
<!-- login prompt time-->
|
|
<form action="/cgi-bin/koha/installer/install.pl" method="post" name="mainform" id="mainform">
|
|
[% FOREACH INPUT IN INPUTS %]
|
|
<input type="hidden" name="[% INPUT.name %]" value="[% INPUT.value %]" />
|
|
[% END %]
|
|
<h3>Welcome to the Koha web installer</h3>
|
|
<p>Before we begin, please verify you have the correct credentials to continue. Please log in
|
|
with the username and password given to you by your systems administrator and located in your
|
|
<code>koha-conf.xml</code> configuration file.</p>
|
|
<p>Please enter your username and password:</p>
|
|
<p><label>Username:<br />
|
|
<input type="text" name="userid" id="userid" class="input" value="[% userid %]" size="20" tabindex="1" /></label>
|
|
</p>
|
|
<p><label>Password:<br />
|
|
<input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" /></label>
|
|
</p>
|
|
<p class="submit"><input id="submit" type="submit" value="Login" tabindex="4" /></p>
|
|
</form>
|
|
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|