[% USE raw %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% USE Price %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-main' %] [% INCLUDE 'masthead.inc' %]
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% IF ( loggedinusername ) %]
[% ELSE %]
[% END %] [% ELSE %]
[% END %]
[% IF ( OpacNav || OpacNavBottom ) %]
[% END %] [% IF ( OpacNav || OpacNavBottom ) && (Koha.Preference( 'opacuserlogin' ) == 1 || OpacNavRight) %]
[% ELSIF (Koha.Preference( 'opacuserlogin' ) == 1 || OpacNavRight) %]
[% ELSIF ( OpacNav || OpacNavBottom ) %]
[% ELSE %]
[% END %] [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
[% END %] [% IF ( koha_news ) %] [% IF single_news_error %]
This news item does not exist.
[% ELSE %]
[% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %] [% FOREACH koha_new IN koha_news %]

[% koha_new.title | html %]

[% koha_new.content | $raw %]
(published on [% koha_new.timestamp | $KohaDates with_hours = 1 | html %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by [% koha_new.author_title | html %] [% koha_new.author_firstname | html %] [% koha_new.author_surname | html %][% END %])
[% END %]
[% END %] [% UNLESS news_item %]
[% IF Branches.all.size == 1 %] [% IF branchcode %] RSS feed for [% Branches.GetName( branchcode ) | html %] library news. [% ELSE %] RSS feed for library news. [% END %] [% ELSE %] [% IF branchcode %] RSS feed for [% Branches.GetName( branchcode ) | html %] and system-wide library news. [% ELSE %] RSS feed for system-wide library news. [% END %] [% END %]
[% END %] [% ELSE %] [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
No news to display.
[% END %] [% IF ( display_daily_quote && daily_quote ) %]

Quote of the day

[% daily_quote.text | html %] ~ [% daily_quote.source | html %]
[% END %] [% IF ( OpacMainUserBlock ) %]
[% OpacMainUserBlock | $raw %]
[% END %] [% END %]
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% UNLESS ( loggedinusername ) %] [% UNLESS ( casAuthentication || shibbolethAuthentication ) %]
Log in to your account:
[% IF Koha.Preference( 'OpacLoginInstructions' ) %]
[% Koha.Preference( 'OpacLoginInstructions' ) | $raw %]
[% END %] [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %] [% END %] [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]

Don't have an account? Register here.

[% END %]
[% END # /casAuthentication %] [% ELSE %] [% IF Koha.Preference('OPACUserSummary') && dashboard_info %]

Welcome, [% INCLUDE 'patron-title.inc' patron = logged_in_user %]

[% END %] [% END # /loggedinusername %] [% END # /opacuserlogin %] [% IF ( OpacNavRight ) %]
[% OpacNavRight | $raw %]
[% END # /OpacNavRight %]
[% END # /opacuserlogin || OpacNavRight %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %][% END %]