Merge commit 'biblibre/3.2_community' into to-push
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-auth.tmpl
1 <!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> 
2 <!-- TMPL_IF NAME="opacuserlogin" -->
3  Catalog &rsaquo;  Log in to Your Account
4 <!-- TMPL_ELSE -->
5  Catalog &rsaquo; Catalog Login Disabled
6 <!-- /TMPL_IF -->
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 </head>
9 <body id="opac-login-page">
10 <div id="doc3" class="yui-t7">
11    <div id="bd">
12 <!-- TMPL_INCLUDE name="masthead.inc" -->
13
14         <div id="yui-g">
15 <div class="container">
16 <div id="opac-auth">
17 <!--CONTENT-->
18 <!-- TMPL_IF NAME="opacuserlogin" -->
19 <!-- TMPL_IF NAME="loginprompt" -->
20 <!-- login prompt time-->
21 <h3>Log In to Your Account</h3>
22 <!-- TMPL_IF NAME="nopermission" -->
23 <!-- This is what is displayed if user doesnt have permission -->
24 <p>Sorry, the system doesn't think you have permission to access this page. </p>
25 <!-- /TMPL_IF -->
26
27 <!-- TMPL_IF NAME="timed_out" -->
28 <!-- This is what is displayed if login has timed out -->
29 <p>Sorry, your session has timed out.  Please log in again.</p>
30 <!-- /TMPL_IF -->
31
32 <!-- TMPL_IF NAME="different_ip" -->
33 <!-- This is what is displayed if user doesnt have permission -->
34 <p>You are logging from a different IP address.  Please log in again.</p>
35 <!-- /TMPL_IF -->
36
37 <!-- TMPL_IF NAME="invalid_username_or_password" -->
38 <!-- This is what is displayed if user doesnt have permission -->
39 <p>You entered an incorrect username or password. Please try again! And remember, usernames and passwords are case sensitive.</p>
40 <!-- /TMPL_IF -->
41
42 <!-- TMPL_IF NAME="casAuthentication" -->
43 <h4>Cas Login</h4>
44
45 <!-- TMPL_IF NAME="invalidCasLogin" -->
46 <!-- This is what is displayed if cas login has failed -->
47 <p>Sorry, the CAS login failed.</p>
48 <!-- /TMPL_IF -->
49
50 <p>If you have a <acronym title="Central Authentication Service">CAS</acronym> account, please <a href="<!-- TMPL_VAR NAME="casServerUrl" -->">click here to login</a>.<p>
51
52 <h4>Local Login</h4>
53 <p>If you do not have a CAS account, but a local account, you can still log in : </p>
54
55 <!-- /TMPL_IF -->
56
57 <form action="<!-- TMPL_VAR NAME="url" -->" name="auth" id="auth" method="post">
58   <input type="hidden" name="koha_login_context" value="opac" />
59 <fieldset class="brief"><!-- TMPL_LOOP NAME="INPUTS" -->
60   <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
61 <!-- /TMPL_LOOP -->
62 <ol>
63 <li><label for="userid">Login</label>
64 <input type="text"  size="25" id="userid"  name="userid" /></li>
65 <li><label for="password">Password</label><input type="password"  size="25" id="password"  name="password" /></li>
66 </ol></fieldset>
67
68 <input type="submit" value="Log In" class="submit" />
69 <div>  <h5>Don't have a password yet?</h5><p> If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
70 <h5>Don't have a library card?</h5><p> If you don't have a library card, stop by your local library to sign up.  </p></div>
71 </form>
72
73
74 <!-- /TMPL_IF -->
75 <!-- TMPL_ELSE -->
76 <h4>Logging on to the catalog has not been enabled by the library.</h4>
77 <ul>
78   <li>To report this error, you can 
79           <a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
80   <li>Use top menu bar to navigate to another part of Koha.</li>
81 </ul>
82 <!-- /TMPL_IF --></div>
83 </div>
84 </div>
85 </div>
86
87 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->