Lines 307-340
Link Here
|
307 |
</div> |
307 |
</div> |
308 |
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> |
308 |
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> |
309 |
<div class="modal-body"> |
309 |
<div class="modal-body"> |
310 |
[% IF ( shibbolethAuthentication ) %] |
310 |
[% IF ( shibbolethAuthentication ) %] |
311 |
[% IF ( invalidShibLogin ) %] |
311 |
[% IF ( invalidShibLogin ) %] |
312 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
312 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
313 |
<div class="alert alert-info"> |
313 |
<div class="alert alert-info"> |
314 |
<p>Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.</p> |
314 |
<p>Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.</p> |
315 |
</div> |
315 |
</div> |
316 |
[% ELSE %] |
316 |
[% ELSE %] |
317 |
<h4>Shibboleth Login</h4> |
317 |
<h4>Shibboleth login</h4> |
318 |
<p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl %]">click here to login</a>.</p> |
318 |
<p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl %]">click here to login</a>.</p> |
319 |
<h4>Local Login</h4> |
319 |
<h4>Local Login</h4> |
|
|
320 |
[% END %] |
321 |
[% END %] |
322 |
<input type="hidden" name="koha_login_context" value="opac" /> |
323 |
<fieldset class="brief"> |
324 |
<label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> |
325 |
<label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> |
326 |
[% IF Koha.Preference( 'NoLoginInstructions' ) %] |
327 |
<div id="nologininstructions-modal" class="nologininstructions"> |
328 |
[% Koha.Preference( 'NoLoginInstructions' ) %] |
329 |
</div> |
320 |
[% END %] |
330 |
[% END %] |
321 |
[% END %] |
|
|
322 |
<input type="hidden" name="koha_login_context" value="opac" /> |
323 |
<fieldset class="brief"> |
324 |
<label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> |
325 |
<label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" /> |
326 |
[% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %] |
331 |
[% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %] |
327 |
<div id="forgotpassword-modal"> |
332 |
<div id="forgotpassword-modal" class="forgotpassword"> |
328 |
<a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> |
333 |
<p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p> |
329 |
</div> |
334 |
</div> |
330 |
[% END %] |
335 |
[% END %] |
331 |
[% IF Koha.Preference( 'NoLoginInstructions' ) %] |
336 |
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %] |
332 |
<div id="nologininstructions-modal"> |
337 |
<div id="patronregistration-modal" class="patronregistration"> |
333 |
[% Koha.Preference( 'NoLoginInstructions' ) %] |
338 |
<p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p> |
334 |
</div> |
339 |
</div> |
335 |
[% END %] |
340 |
[% END %] |
336 |
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="mpatronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %] |
341 |
</fieldset> |
337 |
</fieldset> |
|
|
338 |
</div> |
342 |
</div> |
339 |
<div class="modal-footer"> |
343 |
<div class="modal-footer"> |
340 |
<input type="submit" class="btn btn-primary" value="Log in" /> |
344 |
<input type="submit" class="btn btn-primary" value="Log in" /> |