2 [% INCLUDE 'doc-head-open.inc' %]
3 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›
4 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% BLOCK cssinclude %][% END %]
12 <body id="opac-login-page" class="scrollto">
13 [% INCLUDE 'masthead.inc' %]
16 <ul class="breadcrumb">
17 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
18 <li><a href="#">Log in</a></li>
21 <div class="container-fluid">
22 <div class="row-fluid">
23 <div class="span7 offset2">
24 <div id="opac-auth" class="maincontent">
26 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
27 [% IF ( nopermission ) %]
28 <!-- This is what is displayed if user doesnt have permission -->
30 <h3>Access denied</h3>
31 <p>Sorry, the system doesn't think you have permission to access this page. </p>
35 [% IF ( loginprompt ) %]
36 <!-- login prompt time-->
37 <h3>Log in to your account</h3>
39 [% IF ( timed_out ) %]
40 <!-- This is what is displayed if login has timed out -->
41 <div class="alert alert-info">
42 <p>Sorry, your session has timed out. Please log in again.</p>
46 [% IF ( different_ip ) %]
47 <!-- This is what is displayed if user doesnt have permission -->
48 <div class="alert alert-info">
49 <p>You are logging from a different IP address. Please log in again.</p>
53 [% IF ( invalid_username_or_password ) %]
54 <!-- This is what is displayed if user doesnt have permission -->
55 <div class="alert alert-info">
56 <p>You entered an incorrect username or password. Please try again! And remember, usernames and passwords are case sensitive.</p>
60 [% IF ( casAuthentication ) %]
63 [% IF ( invalidCasLogin ) %]
64 <!-- This is what is displayed if cas login has failed -->
65 <p>Sorry, the CAS login failed.</p>
68 <p>If you have a <acronym title="Central Authentication Service">CAS</acronym> account,
69 [% IF ( casServerUrl ) %]
70 please <a href="[% casServerUrl %]">click here to login</a>.<p>
73 [% IF ( casServersLoop ) %]
74 Please choose against which one you would like to authenticate: </p>
76 [% FOREACH casServer IN casServersLoop %]
77 <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
83 <p>If you do not have a CAS account, but a local account, you can still log in: </p>
85 [% END # / IF casAuthentication %]
87 <form action="[% url %]" name="auth" id="auth" method="post">
88 <input type="hidden" name="koha_login_context" value="opac" />
89 <fieldset class="brief">
90 [% FOREACH INPUT IN INPUTS %]
91 <input type="hidden" name="[% INPUT.name |html %]" value="[% INPUT.value |html %]" />
93 <label for="userid">Login</label>
94 <input type="text" size="25" id="userid" name="userid" />
95 <label for="password">Password</label><input type="password" size="25" id="password" name="password" />
98 <input type="submit" value="Log in" class="btn" />
99 <div id="nologininstructions">
100 [% IF Koha.Preference('NoLoginInstructions') %]
101 [% Koha.Preference('NoLoginInstructions') %]
103 <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>
104 <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>
105 [% END # / IF Koha.Preference('NoLoginInstructions') %]
106 [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<span id="registrationinstructions">You may <a href="/cgi-bin/koha/opac-memberentry.pl">register here</a>.</span>[% END %]
109 [% END # / IF loginprompt %]
112 <h4>Logging on to the catalog has not been enabled by the library.</h4>
114 <li>To report this error, you can <a href="mailto:[% admin %]">email the Koha Administrator</a>.</li>
115 <li>Use top menu bar to navigate to another part of Koha.</li>
117 [% END # / IF opacuserlogin %]
120 <p><a href="#" class="persona-button" id="browserid" ><span>Sign in with your Email</span></a></p>
123 </div> <!-- /.opac-auth -->
124 </div> <!-- /.span12 -->
125 </div> <!-- /.row-fluid -->
126 </div> <!-- /.container-fluid -->
127 </div> <!-- /.main -->
129 [% INCLUDE 'opac-bottom.inc' %]
130 [% BLOCK jsinclude %]
131 <script type="text/javascript">
133 // Hide circular 'Log in to Your Account' link in opac-auth.pl
134 $(document).ready(function() {
135 if ( $("#auth" ) ) { $("#members ul li a").hide(); }