Lines 5-10
Link Here
|
5 |
[% USE Categories %] |
5 |
[% USE Categories %] |
6 |
[% USE Price %] |
6 |
[% USE Price %] |
7 |
[% USE AdditionalContents %] |
7 |
[% USE AdditionalContents %] |
|
|
8 |
[% USE AuthClient %] |
8 |
[% PROCESS 'i18n.inc' %] |
9 |
[% PROCESS 'i18n.inc' %] |
9 |
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
10 |
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
10 |
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
11 |
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
Lines 191-196
Link Here
|
191 |
<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> |
192 |
<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> |
192 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
193 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
193 |
[% END # /IF GoogleOpenIDConnect %] |
194 |
[% END # /IF GoogleOpenIDConnect %] |
|
|
195 |
[% SET auth_providers = AuthClient.get_providers('opac') %] |
196 |
[% IF ( ! auth_providers.empty ) %] |
197 |
[% FOREACH provider IN auth_providers %] |
198 |
<p class="clearfix"> |
199 |
<a href="[% provider.url | url %]" class="btn btn-light col-md-12" id="provider_[% provider.code | html %]"> |
200 |
[% IF provider.icon_url %] |
201 |
<img src="[% provider.icon_url | url %]" style="max-height: 20px; max-width: 20px;"/> |
202 |
[% ELSE %] |
203 |
<i class="fa fa-user" aria-hidden="true"></i> |
204 |
[% END %] |
205 |
Log in with [% provider.description | html %] |
206 |
</a> |
207 |
</p> |
208 |
[% END %] |
209 |
<hr/> |
210 |
<p>If you do not have an external account, but do have a local account, you can still log in: </p> |
211 |
[% END # /IF auth_providers.size %] |
194 |
<div class="local-login"> |
212 |
<div class="local-login"> |
195 |
<label for="userid">Login:</label> |
213 |
<label for="userid">Login:</label> |
196 |
<input class="form-control" type="text" id="userid" name="userid" autocomplete="off" /> |
214 |
<input class="form-control" type="text" id="userid" name="userid" autocomplete="off" /> |
197 |
- |
|
|