Merge remote branch 'kc/new/bug_4276' into kcmaster
[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
9 <!-- Bug 4288: Hide circular 'Log in to Your Account' link in opac-auth.pl -->
10 <script type="text/javascript">
11     $(document).ready(function() {
12         if ( $("#auth" ) ) { $("#members ul li a").hide(); }
13     });
14 </script>
15 </head>
16 <body id="opac-login-page">
17 <div id="doc3" class="yui-t7">
18    <div id="bd">
19 <!-- TMPL_INCLUDE name="masthead.inc" -->
20
21         <div id="yui-g">
22 <div id="userauth" class="container">
23 <div id="opac-auth">
24 <!--CONTENT-->
25 <!-- TMPL_IF NAME="opacuserlogin" -->
26 <!-- TMPL_IF NAME="nopermission" -->
27 <!-- This is what is displayed if user doesnt have permission -->
28 <p>Sorry, the system doesn't think you have permission to access this page. </p>
29 <!-- /TMPL_IF -->
30 <!-- TMPL_IF NAME="loginprompt" -->
31 <!-- login prompt time-->
32 <h3>Log In to Your Account</h3>
33 <!-- TMPL_IF NAME="timed_out" -->
34 <!-- This is what is displayed if login has timed out -->
35 <p>Sorry, your session has timed out.  Please log in again.</p>
36 <!-- /TMPL_IF -->
37
38 <!-- TMPL_IF NAME="different_ip" -->
39 <!-- This is what is displayed if user doesnt have permission -->
40 <p>You are logging from a different IP address.  Please log in again.</p>
41 <!-- /TMPL_IF -->
42
43 <!-- TMPL_IF NAME="invalid_username_or_password" -->
44 <!-- This is what is displayed if user doesnt have permission -->
45 <p>You entered an incorrect username or password. Please try again! And remember, usernames and passwords are case sensitive.</p>
46 <!-- /TMPL_IF -->
47
48 <!-- TMPL_IF NAME="casAuthentication" -->
49 <h4>Cas Login</h4>
50
51 <!-- TMPL_IF NAME="invalidCasLogin" -->
52 <!-- This is what is displayed if cas login has failed -->
53 <p>Sorry, the CAS login failed.</p>
54 <!-- /TMPL_IF -->
55
56 <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>
57
58 <h4>Local Login</h4>
59 <p>If you do not have a CAS account, but a local account, you can still log in : </p>
60
61 <!-- /TMPL_IF -->
62
63 <form action="<!-- TMPL_VAR NAME="url" -->" name="auth" id="auth" method="post">
64   <input type="hidden" name="koha_login_context" value="opac" />
65 <fieldset class="brief"><!-- TMPL_LOOP NAME="INPUTS" -->
66   <input type="hidden" name="<!-- TMPL_VAR ESCAPE=HTML NAME="name" -->" value="<!-- TMPL_VAR ESCAPE=HTML NAME="value" -->" />
67 <!-- /TMPL_LOOP -->
68 <ol>
69 <li><label for="userid">Login</label>
70 <input type="text"  size="25" id="userid"  name="userid" /></li>
71 <li><label for="password">Password</label><input type="password"  size="25" id="password"  name="password" /></li>
72 </ol></fieldset>
73
74 <input type="submit" value="Log In" class="submit" />
75 <div id="nologininstructions">  <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>
76 <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>
77 </form>
78
79
80 <!-- /TMPL_IF -->
81 <!-- TMPL_ELSE -->
82 <h4>Logging on to the catalog has not been enabled by the library.</h4>
83 <ul>
84   <li>To report this error, you can 
85           <a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
86   <li>Use top menu bar to navigate to another part of Koha.</li>
87 </ul>
88 <!-- /TMPL_IF --></div>
89 </div>
90 </div>
91 </div>
92
93 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->