1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
3 <!-- TMPL_IF NAME="nopermission" -->Access denied<!-- /TMPL_IF -->
4 <!-- TMPL_IF NAME="timed_out" -->Session timed out<!-- /TMPL_IF -->
5 <!-- TMPL_IF NAME="different_ip" -->IP address change<!-- /TMPL_IF -->
6 <!-- TMPL_IF NAME="invalid_username_or_password" -->Invalid username or password<!-- /TMPL_IF -->
7 <!-- TMPL_IF NAME="loginprompt" -->Log in to Koha<!-- /TMPL_IF -->
9 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
11 <h1>Log in to Koha</h1>
12 <!-- TMPL_IF NAME="nopermission" -->
13 <!-- This is what is displayed if user doesn"t have permission --><h3>Login Error</h3>
14 <p>Sorry, Koha doesn"t think you have permission for this page.</p>
17 <!-- TMPL_IF NAME="timed_out" -->
18 <!-- This is what is displayed if login has timed out -->
19 <h3>Login Error</h3><p>Sorry, your session has timed out. Please login again.</p>
22 <!-- TMPL_IF NAME="different_ip" -->
23 <!-- This is what is displayed if user"s IP has changed -->
24 <h3>Login Error</h3><p>You are accessing Koha from a different ip address! Please login again.</p>
27 <!-- TMPL_IF NAME="invalid_username_or_password" -->
28 <!-- This is what is displayed if the username or password doesn"t work -->
29 <h3>Login Error</h3><p>You entered an incorrect username or password. Please try again.</p>
33 <!-- TMPL_IF NAME="loginprompt" -->
34 <!-- login prompt time-->
35 <form action="<!-- TMPL_VAR NAME="url" -->" method="post" name="mainform" id="mainform">
36 <!-- TMPL_LOOP NAME="INPUTS" -->
37 <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
40 <label>Username:<br />
41 <input type="text" name="userid" id="userid" class="input" value="" size="20" tabindex="10" /></label>
44 <label>Password:<br />
45 <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="20" /></label>
48 <label for="branch">Library:</label>
49 <select name="branch" id="branch" class="input">
50 <!-- TMPL_LOOP NAME="branchloop" -->
51 <option value="<!-- TMPL_VAR NAME='branchcode' -->"><!-- TMPL_VAR NAME='branchname' --></option>
55 <p class="submit"><input type="submit" value="Login »" /></p>
59 <script type="text/javascript">
61 document.getElementById('userid').focus(); // auto focus on login input when document is loaded.
65 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->