1 [% INCLUDE 'doc-head-open.inc' %]
3 [% IF ( nopermission ) %]Access denied[% END %]
4 [% IF ( timed_out ) %]Session timed out[% END %]
5 [% IF ( different_ip ) %]IP address change[% END %]
6 [% IF ( invalid_username_or_password ) %]Invalid username or password[% END %]
7 [% IF ( loginprompt ) %]Log in to Koha[% END %]
9 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="main_auth" class="main">
13 <div id="doc" class="yui-t7">
17 <h1><a href="http://koha-community.org">Koha</a></h1>
18 [% IF ( nopermission ) %]
19 <div id="login_error"><strong>Error:</strong> You do not have permission to access this page. <a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Click to log out</a></div>
22 [% IF ( timed_out ) %]
23 <div id="login_error"><strong>Error: </strong>Session timed out.<br /> Please log in again</div>
26 [% IF ( different_ip ) %]
27 <div id="login_error"><strong>Error: </strong>IP address has changed. Please log in again </div>
31 <div id="login_error"><strong>Error: </strong>IndependentBranches and Autolocation are switched on and you are logging in with an IP address that doesn't match your library. </div>
34 [% IF ( invalid_username_or_password ) %]
35 <div id="login_error"><strong>Error: </strong>Invalid username or password</div>
38 <!-- login prompt time-->
39 <form action="[% url %]" method="post" name="loginform" id="loginform">
40 <input type="hidden" name="koha_login_context" value="intranet" />
41 [% FOREACH INPUT IN INPUTS %]
42 <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
44 <p><label for="userid">Username:</label>
45 <input type="text" name="userid" id="userid" class="input focus" value="[% userid %]" size="20" tabindex="1" />
47 <p><label for="password">Password:</label>
48 <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" />
51 [% IF ( AutoLocation ) %][% ELSE %]
52 [% IF ( IndependantBranches ) %][% ELSE %]
53 <p><label for="branch">Library:</label>
54 <select name="branch" id="branch" class="input" tabindex="3">
55 <option value="">My library</option>
56 [% FOREACH branchloo IN branchloop %]
57 <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
63 <!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> -->
65 <p class="submit"><input id="submit" type="submit" value="Login" tabindex="4" /></p>
68 <!-- <li><a href="/cgi-bin/koha/lostpassword.pl" title="Password lost and found">Lost your password?</a></li> -->
74 [% INCLUDE 'intranet-bottom.inc' %]