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