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" -->
13 <div id="doc" class="yui-t7">
18 <h1><a href="http://koha.org">Koha</a></h1>
19 <!-- TMPL_IF NAME="nopermission" -->
20 <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>
23 <!-- TMPL_IF NAME="timed_out" -->
24 <div id="login_error"><strong>Error</strong>: session timed out, please log in again</div>
27 <!-- TMPL_IF NAME="different_ip" -->
28 <div id="login_error"><strong>Error</strong>: IP address has changed, please log in again </div>
31 <!-- TMPL_IF NAME="invalid_username_or_password" -->
32 <div id="login_error"><strong>Error</strong>: Incorrect username or password</div>
35 <!-- login prompt time-->
36 <form action="<!-- TMPL_VAR NAME="url" -->" method="post" name="loginform" id="loginform">
37 <!-- TMPL_LOOP NAME="INPUTS" -->
38 <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
40 <p><label>Username:<br />
41 <input type="text" name="userid" id="userid" class="input" value="<!-- TMPL_VAR NAME="userid" -->" size="20" tabindex="1" /></label>
43 <p><label>Password:<br />
44 <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" /></label>
46 <p><label for="branch">Library:<br />
47 <select name="branch" id="branch" class="input">
48 <!-- TMPL_LOOP NAME="branchloop" -->
49 <option value="<!-- TMPL_VAR NAME='branchcode' -->"><!-- TMPL_VAR NAME='branchname' --></option>
53 <!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> -->
55 <p class="submit"><input id="submit" type="submit" value="Login »" tabindex="4" /></p>
58 <!-- <li><a href="/cgi-bin/koha/lostpassword.pl" title="Password Lost and Found">Lost your password?</a></li> -->
66 <script type="text/javascript">
68 document.getElementById('userid').focus(); // auto focus on login input when document is loaded.
72 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->