Bug 2780 - Capitalize strings consistently (home, about, login)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / auth.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; 
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 %]
8 </title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 </head>
11 <body id="main_auth" class="main">
12
13 <div id="doc" class="yui-t7">
14    <div id="bd">
15
16 <div id="login">
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>
20 [% END %]
21
22 [% IF ( timed_out ) %]
23 <div id="login_error"><strong>Error: </strong>Session timed out.<br /> Please log in again</div>
24 [% END %]
25
26 [% IF ( different_ip ) %]
27 <div id="login_error"><strong>Error: </strong>IP address has changed. Please log in again </div>
28 [% END %]
29
30 [% IF ( wrongip ) %]
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>
32 [% END %]
33
34 [% IF ( invalid_username_or_password ) %]
35 <div id="login_error"><strong>Error: </strong>Invalid username or password</div>
36 [% END %]
37
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 %]" />
43 [% END %]
44 <p><label for="userid">Username:</label>
45 <input type="text" name="userid" id="userid" class="input focus" value="[% userid %]" size="20" tabindex="1" />
46 </p>
47 <p><label for="password">Password:</label>
48 <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" />
49 </p>
50
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>
58     [% END %]
59     </select>
60     </p>[% END %]
61         [% END %]
62
63 <!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> -->
64
65 <p class="submit"><input id="submit" type="submit" value="Login" tabindex="4" /></p>
66 </form>
67 <!--<ul> -->
68 <!--    <li><a href="/cgi-bin/koha/lostpassword.pl" title="Password lost and found">Lost your password?</a></li> -->
69 <!-- </ul> -->
70
71 </div>
72 </div>
73
74 [% INCLUDE 'intranet-bottom.inc' %]