Bug 36095: Improve translation of title tags: OPAC part 2
This patch updates a batch of OPAC templates so that title tags can
be more easily translated.
To test, apply the patch and confirm that the following pages have
correct title tags:
- Check the OPAC main page
- Follow the "Libraries" link
- Check one of the individual library pages
- From the OPAC main page, view the RSS feed for OPAC news (requires at
least one news item be added via Tools -> News -> New entry).
- Search the catalog and view the detail page for one of the results.
- View the IDREF page, e.g.
http://localhost:8080/cgi-bin/koha/opac-idref.pl?unimarc3=032581270
- With OverDrive configured and enabled, perform a catalog search.
- Follow the "Found X results in the library's OverDrive credentials"
link to view OverDrive search results.
- These pages normally aren't accessed directly but they are modified:
Download cart, e.g. http://localhost:8080/cgi-bin/koha/opac-downloadcart.pl?bib_list=5302/4893/4594
Download shelf, e.g. http://localhost:8080/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=X
Checkout note, e.g. http://localhost:8080/cgi-bin/koha/opac-issue-note.pl?issue_id=X
- In the staff client, add a local cover image to a bibliographic record
(requires the OPACLocalCoverImages system preference be enabled).
- View the detail page for that record in the OPAC.
- Under the images tab, right-click the image thumbnail and open in
a new tab.
- Search the catalog for a record with a subscription and view the
detail page. Under the "Subscriptions" page, click "More details,"
then the "Full history" tab.
- In the staff client, go to Tools -> Pages and create a page for the
OPAC. View that page.
- Log in to the OPAC. From your "Summary" page,
- View the curbside pickups page (requires the CurbsidePickup
preference be enabled)
- View the "Ask for discharge" page (requires the useDischarge
preference be enabled)
- View the holds history page (requires the OPACHoldsHistory
preference be enabled)
- View the ILL requests page (requires the ILLModule preference be
enabled
- View the "Personal details" page.
- View the messaging page (requires the
EnhancedMessagingPreferencesOPAC preference be enabled)
- From the "Summary" page, under the "Checked out" tab, click the "Add
note" for one of the checkouts (requires the AllowCheckoutNotes
preference be enabled).
- After adding a note
- View the "Personal details" page and submit an edit (requires
the OPACPatronDetails preference be enabled). Check the confirmation
page.
Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 63f3a3f243)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
dce4312d91
commit
d6cbafaa60
|
|
@ -4,10 +4,17 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your curbside pickups › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Your curbside pickups") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% FILTER collapse %]
|
||||
<style>
|
||||
.pickup_time input[type="radio"] {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% USE KohaPlugins %]
|
||||
[% USE SafeURL %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
|
||||
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
|
||||
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
|
||||
|
|
@ -31,7 +33,13 @@
|
|||
[% END %]
|
||||
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Details for: [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
|
||||
[% tx("Details for {title}", { title = title_in_title }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
<link rel="canonical" href="[% OPACBaseURL | url %]/bib/[% biblio.biblionumber | url %]" />
|
||||
[% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %]
|
||||
[% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %]
|
||||
|
|
|
|||
|
|
@ -2,10 +2,17 @@
|
|||
[% USE Koha %]
|
||||
[% USE Price %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Discharge › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Discharge") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,12 @@
|
|||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Download cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Download cart") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,19 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %] <title>Download list [% shelf.shelfname | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
|
||||
[% tx("Download list {list}", { list = shelf.shelfname }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -3,11 +3,18 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Full subscription history for [% bibliotitle | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% tx("Full subscription history for {title}", { title = bibliotitle }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% FILTER collapse %]
|
||||
|
|
|
|||
|
|
@ -6,11 +6,18 @@
|
|||
[% USE ItemTypes %]
|
||||
[% USE AdditionalContents %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your holds history › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Your holds history") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,12 @@
|
|||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your search IDREF for ppn [% unimarc3 | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% tx("Your search IDREF for ppn {ppn}", { ppn = unimarc3 }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
|
|
|
|||
|
|
@ -4,11 +4,18 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% USE Branches %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET ILLModuleCopyrightClearance = AdditionalContents.get( location => "ILLModuleCopyrightClearance", lang => lang, library => logged_in_user.branchcode || default_branch ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your interlibrary loan requests › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Your interlibrary loan requests") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,18 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Images for: [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% title_in_title = INCLUDE 'biblio-title-head.inc' %]
|
||||
[% tx("Images for {title}", { title = title_in_title }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -3,10 +3,17 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Editing checkout note for [% title | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% tx("Editing checkout note for {title}", { title = title }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,29 +1,24 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'display-library-address.inc' %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% PROCESS 'display-library-address.inc' %]
|
||||
[% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
[% IF ( library ) %]
|
||||
[% library.branchname | html %]
|
||||
›
|
||||
[% END %]
|
||||
[% IF public_count > 1 %]
|
||||
Libraries ›
|
||||
[% ELSE %]
|
||||
Contact ›
|
||||
[% END %]
|
||||
[% IF ( LibraryNameTitle ) %]
|
||||
[% LibraryNameTitle | html %]
|
||||
[% ELSE %]
|
||||
Koha online
|
||||
[% END %]
|
||||
catalog
|
||||
</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% IF ( library ) %]
|
||||
[% library.branchname | html %]
|
||||
›
|
||||
[% END %]
|
||||
[% t("Libraries") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
[% USE AdditionalContents %]
|
||||
[% USE AuthClient %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavRight = AdditionalContents.get( location => "OpacNavRight", lang => lang, library => logged_in_user.branchcode || default_branch ) %]
|
||||
|
|
@ -14,7 +15,11 @@
|
|||
[% SET OpacLoginInstructions = AdditionalContents.get( location => "OpacLoginInstructions", lang => lang, library => branchcode || default_branch ) %]
|
||||
[% SET AllPublicBranches = Branches.all( search_params => { public => 1 }, selected => branchcode ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
<link rel="canonical" href="[% OPACBaseURL | url %]/" />
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,17 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Updates submitted › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Updates submitted") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
[% USE Math %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET userupdateview = 1 %]
|
||||
|
|
@ -33,7 +34,16 @@
|
|||
[% END %]
|
||||
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF op == 'edit' %]Update your personal details[% ELSE %]Register a new account[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% IF op == 'edit' %]
|
||||
[% t("Update your personal details") | html %]
|
||||
[% ELSE %]
|
||||
[% t("Register a new account") | html %]
|
||||
[% END %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,17 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your messaging settings › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% t("Your messaging settings") | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,18 +1,29 @@
|
|||
[% USE raw -%] <?xml version="1.0"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
|
||||
<title>News from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]the library[% END %]</title>
|
||||
<!-- prettier-ignore-start -->
|
||||
[% FILTER collapse %]
|
||||
[% USE raw -%]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
<?xml version="1.0"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
|
||||
<title>
|
||||
[% IF ( LibraryNameTitle ) %]
|
||||
[% tx("News from {library} catalog", { library = LibraryNameTitle }) | html %]
|
||||
[% ELSE %]
|
||||
[% t("News from the library") | html %]
|
||||
[% END %]
|
||||
</title>
|
||||
<!-- prettier-ignore-start -->
|
||||
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl</link>
|
||||
<!-- prettier-ignore-end -->
|
||||
<description></description>
|
||||
[% FOREACH newsitem IN koha_news %]
|
||||
<item>
|
||||
<title>[% newsitem.title | html %]</title>
|
||||
<description>[% newsitem.content | $raw %]</description>
|
||||
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.additional_content_id | html %]</guid>
|
||||
</item>
|
||||
[% END %]
|
||||
</channel>
|
||||
</rss>
|
||||
<description></description>
|
||||
[% FOREACH newsitem IN koha_news %]
|
||||
<item>
|
||||
<title>[% newsitem.title | html %]</title>
|
||||
<description>[% newsitem.content | $raw %]</description>
|
||||
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.additional_content_id | html %]</guid>
|
||||
</item>
|
||||
[% END %]
|
||||
</channel>
|
||||
</rss>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -2,10 +2,17 @@
|
|||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>OverDrive search for '[% q | html %]' › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% tx("OverDrive search for '{keyword}'", { keyword = q }) | html %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% Asset.css("css/overdrive.css") | $raw %]
|
||||
[% BLOCK cssinclude %]
|
||||
|
|
|
|||
|
|
@ -2,10 +2,20 @@
|
|||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF page %][% page.title | html %][% ELSE %]Page error[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title
|
||||
>[% FILTER collapse %]
|
||||
[% IF page %]
|
||||
[% page.title | html %]
|
||||
[% ELSE %]
|
||||
[% t("Page error") | html %]
|
||||
[% END %]
|
||||
› [% PROCESS 'library_name_title' %]
|
||||
[% END %]</title
|
||||
>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue