Lines 79-85
Link Here
|
79 |
<div class="newsitem"> |
79 |
<div class="newsitem"> |
80 |
<a name="newsitem[% koha_new.idnew | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.idnew %]"><h4 class="newsheader">[% koha_new.title | html %]</h4></a> |
80 |
<a name="newsitem[% koha_new.idnew | html %]" href="/cgi-bin/koha/opac-main.pl?news_id=[% koha_new.idnew %]"><h4 class="newsheader">[% koha_new.title | html %]</h4></a> |
81 |
<div class="newsbody">[% koha_new.content | $raw %]</div> |
81 |
<div class="newsbody">[% koha_new.content | $raw %]</div> |
82 |
<div class="newsfooter">(published on [% koha_new.timestamp | $KohaDates with_hours = 1 | html %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %][% END %][% IF ( koha_new.expirationdate ) %], expiry on [% koha_new.expirationdate %][% END %])</div> |
82 |
<div class="newsfooter">(published on [% koha_new.timestamp | $KohaDates with_hours = 1 | html %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title | html %] </span>[% koha_new.author_firstname | html %] [% koha_new.author_surname | html %][% END %])</div> |
83 |
</div> |
83 |
</div> |
84 |
[% END %] |
84 |
[% END %] |
85 |
</div> |
85 |
</div> |
Lines 106-111
Link Here
|
106 |
[% END %] |
106 |
[% END %] |
107 |
</div> |
107 |
</div> |
108 |
|
108 |
|
|
|
109 |
[% END %] <!-- single news item --> |
110 |
|
111 |
[% ELSE %] <!-- koha news --> |
112 |
[% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] |
113 |
<div id="news" class="newscontainer"> |
114 |
<div class="newsitem"> |
115 |
<div class="newsbody">No news to display.</div> |
116 |
<div class="newsfooter"></div> |
117 |
</div> |
118 |
</div> |
119 |
[% END %] |
120 |
|
109 |
[% IF ( display_daily_quote && daily_quote ) %] |
121 |
[% IF ( display_daily_quote && daily_quote ) %] |
110 |
<div id="daily-quote"> |
122 |
<div id="daily-quote"> |
111 |
<h3>Quote of the day</h3> |
123 |
<h3>Quote of the day</h3> |
Lines 117-133
Link Here
|
117 |
|
129 |
|
118 |
[% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock | $raw %]</div>[% END %] |
130 |
[% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock | $raw %]</div>[% END %] |
119 |
|
131 |
|
120 |
[% END %] <!-- single news item --> |
132 |
[% END %] <!-- koha news --> |
121 |
[% ELSE %] <!-- koha news --> |
|
|
122 |
[% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] |
123 |
<div id="news" class="newscontainer"> |
124 |
<div class="newsitem"> |
125 |
<div class="newsbody">No news to display.</div> |
126 |
<div class="newsfooter"></div> |
127 |
</div> |
128 |
</div> |
129 |
[% END %] |
130 |
[% END %] |
131 |
</div> <!-- / .span 7/9 --> |
133 |
</div> <!-- / .span 7/9 --> |
132 |
|
134 |
|
133 |
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %] |
135 |
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %] |
134 |
- |
|
|