Lines 339-346
Link Here
|
339 |
</div> |
339 |
</div> |
340 |
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> |
340 |
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> |
341 |
<input type="hidden" name="has-search-query" id="has-search-query" value="" /> |
341 |
<input type="hidden" name="has-search-query" id="has-search-query" value="" /> |
342 |
<div class="modal-body"> |
342 |
<div id="loginTabs" class="modal-body"> |
343 |
[% IF ( shibbolethAuthentication ) %] |
343 |
[% IF ( shibbolethAuthentication ) %] |
|
|
344 |
<ul> |
345 |
<li><a href="#loginTabs-1">Shibboleth log in</a></li> |
346 |
<li><a href="#loginTabs-2">Local log in</a></li> |
347 |
</ul> |
348 |
<div id="loginTabs-1" class="shibbolethLogin"> |
344 |
[% IF ( invalidShibLogin ) %] |
349 |
[% IF ( invalidShibLogin ) %] |
345 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
350 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
346 |
<div class="alert alert-info"> |
351 |
<div class="alert alert-info"> |
Lines 349-357
Link Here
|
349 |
[% ELSE %] |
354 |
[% ELSE %] |
350 |
<h4>Shibboleth login</h4> |
355 |
<h4>Shibboleth login</h4> |
351 |
<p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here to login</a>.</p> |
356 |
<p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here to login</a>.</p> |
352 |
<h4>Local Login</h4> |
357 |
</div> |
353 |
[% END %] |
358 |
[% END %] |
354 |
[% END %] |
359 |
[% END %] |
|
|
360 |
<div id="loginTabs-2" class="localLogin"> |
361 |
<h4>Local Login</h4> |
355 |
<input type="hidden" name="koha_login_context" value="opac" /> |
362 |
<input type="hidden" name="koha_login_context" value="opac" /> |
356 |
<fieldset class="brief"> |
363 |
<fieldset class="brief"> |
357 |
<label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> |
364 |
<label for="muserid">Login:</label><input type="text" id="muserid" name="userid" /> |
Lines 372-380
Link Here
|
372 |
</div> |
379 |
</div> |
373 |
[% END %] |
380 |
[% END %] |
374 |
</fieldset> |
381 |
</fieldset> |
375 |
</div> |
|
|
376 |
<div class="modal-footer"> |
377 |
<input type="submit" class="btn btn-primary" value="Log in" /> |
382 |
<input type="submit" class="btn btn-primary" value="Log in" /> |
|
|
383 |
</div> |
378 |
</div> |
384 |
</div> |
379 |
</form> <!-- /#auth --> |
385 |
</form> <!-- /#auth --> |
380 |
</div> <!-- /#modalAuth --> |
386 |
</div> <!-- /#modalAuth --> |