Lines 99-105
Link Here
|
99 |
[%# CAS authentication is too complicated for modal window %] |
99 |
[%# CAS authentication is too complicated for modal window %] |
100 |
<a class="nav-link login-link" href="/cgi-bin/koha/opac-user.pl"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> |
100 |
<a class="nav-link login-link" href="/cgi-bin/koha/opac-user.pl"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> |
101 |
[% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] |
101 |
[% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] |
102 |
<a class="nav-link login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> |
102 |
<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="nav-link login-link loginModal-trigger"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> |
103 |
[% ELSE %] |
103 |
[% ELSE %] |
104 |
<a href="/cgi-bin/koha/opac-user.pl" class="nav-link login-link loginModal-trigger"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> |
104 |
<a href="/cgi-bin/koha/opac-user.pl" class="nav-link login-link loginModal-trigger"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> |
105 |
[% END %] |
105 |
[% END %] |
Lines 371-376
Link Here
|
371 |
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> |
371 |
<form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> |
372 |
<input type="hidden" name="has-search-query" id="has-search-query" value="" /> |
372 |
<input type="hidden" name="has-search-query" id="has-search-query" value="" /> |
373 |
<div class="modal-body"> |
373 |
<div class="modal-body"> |
|
|
374 |
[% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] |
375 |
<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-light" id="openid_connect"><i class="fa fa-google" aria-hidden="true"></i> Log in with Google</a> |
376 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
377 |
[% END # /IF GoogleOpenIDConnect %] |
374 |
[% IF ( shibbolethAuthentication ) %] |
378 |
[% IF ( shibbolethAuthentication ) %] |
375 |
[% IF ( invalidShibLogin ) %] |
379 |
[% IF ( invalidShibLogin ) %] |
376 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |
380 |
<!-- This is what is displayed if shibboleth login has failed to match a koha user --> |