|
Lines 19-25
Link Here
|
| 19 |
[% INCLUDE 'doc-head-close.inc' %] |
19 |
[% INCLUDE 'doc-head-close.inc' %] |
| 20 |
[% BLOCK cssinclude %] |
20 |
[% BLOCK cssinclude %] |
| 21 |
[% END %] |
21 |
[% END %] |
| 22 |
</head> |
22 |
</head>œ |
| 23 |
[% INCLUDE 'bodytag.inc' bodyid='opac-main' %] |
23 |
[% INCLUDE 'bodytag.inc' bodyid='opac-main' %] |
| 24 |
[% INCLUDE 'masthead.inc' %] |
24 |
[% INCLUDE 'masthead.inc' %] |
| 25 |
|
25 |
|
|
Lines 86-98
Link Here
|
| 86 |
[% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'opac' || Koha.Preference('NewsAuthorDisplay') == 'both' %] |
86 |
[% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'opac' || Koha.Preference('NewsAuthorDisplay') == 'both' %] |
| 87 |
[% FOREACH koha_new IN koha_news.content %] |
87 |
[% FOREACH koha_new IN koha_news.content %] |
| 88 |
<div class="newsitem"> |
88 |
<div class="newsitem"> |
| 89 |
<h4 class="newsheader"> |
89 |
<h2 class="newsheader"> |
| 90 |
[% IF ( news_item ) %] |
90 |
[% IF ( news_item ) %] |
| 91 |
[% koha_new.title | html %] |
91 |
[% koha_new.title | html %] |
| 92 |
[% ELSE %] |
92 |
[% ELSE %] |
| 93 |
<a id="newsitem[% koha_new.additional_content.id | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.additional_content.id | uri %]">[% koha_new.title | html %]</a> |
93 |
<a id="newsitem[% koha_new.additional_content.id | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.additional_content.id | uri %]">[% koha_new.title | html %]</a> |
| 94 |
[% END %] |
94 |
[% END %] |
| 95 |
</h4> |
95 |
</h2> |
| 96 |
<div class="newsbody">[% koha_new.content | $raw %]</div> |
96 |
<div class="newsbody">[% koha_new.content | $raw %]</div> |
| 97 |
<div class="newsfooter"> |
97 |
<div class="newsfooter"> |
| 98 |
Published on [% koha_new.published_on | $KohaDates %] |
98 |
Published on [% koha_new.published_on | $KohaDates %] |
|
Lines 168-174
Link Here
|
| 168 |
[% INCLUDE 'csrf-token.inc' %] |
168 |
[% INCLUDE 'csrf-token.inc' %] |
| 169 |
<input type="hidden" name="koha_login_context" value="opac" /> |
169 |
<input type="hidden" name="koha_login_context" value="opac" /> |
| 170 |
<fieldset class="brief"> |
170 |
<fieldset class="brief"> |
| 171 |
<legend>Log in to your account:</legend> |
171 |
<legend><h2>Log in to your account:</h2></legend> |
| 172 |
[% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] |
172 |
[% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] |
| 173 |
<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-light" id="openid_connect"><i class="fa-brands fa-google" aria-hidden="true"></i> Log in with Google</a> |
173 |
<a href="/cgi-bin/koha/svc/auth/googleopenidconnect" class="btn btn-light" id="openid_connect"><i class="fa-brands fa-google" aria-hidden="true"></i> Log in with Google</a> |
| 174 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |
174 |
<p>If you do not have a Google account, but do have a local account, you can still log in: </p> |