set the branch at login
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / auth.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; 
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 -->
8 </title>
9 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
10 <div id="main">
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>
15 <!-- /TMPL_IF -->
16
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>
20 <!-- /TMPL_IF -->
21
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>
25 <!-- /TMPL_IF -->
26
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>
30 <!-- /TMPL_IF -->
31
32
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" -->" />
38 <!-- /TMPL_LOOP -->
39 <p>
40 <label>Username:<br />
41 <input type="text" name="userid" id="userid" class="input" value="" size="20" tabindex="10" /></label>
42 </p>
43 <p>
44 <label>Password:<br />
45 <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="20" /></label>
46 </p>    
47 <p class="submit"><input type="submit" value="Login &raquo;" /></p>
48 </form>
49
50 <!-- /TMPL_IF -->
51
52 <script type="text/javascript">
53 // <![CDATA[
54     document.getElementById('userid').focus(); // auto focus on login input when document is loaded.
55 // ]]>
56 </script>
57
58 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->