Bugzilla – Attachment 146859 Details for
Bug 3150
Move emails for sending cart and list contents into notices tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 3150: (follow-up) HTML filtering TT notices and removing old files
Bug-3150-follow-up-HTML-filtering-TT-notices-and-r.patch (text/plain), 50.52 KB, created by
Katrin Fischer
on 2023-02-17 16:23:23 UTC
(
hide
)
Description:
Bug 3150: (follow-up) HTML filtering TT notices and removing old files
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-02-17 16:23:23 UTC
Size:
50.52 KB
patch
obsolete
>From bdee8dfd5d3fcba5151a7a0e7170b06d09ca5b70 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 5 May 2021 16:40:50 +1200 >Subject: [PATCH] Bug 3150: (follow-up) HTML filtering TT notices and removing > old files > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: David Nind <david@davidnind.com> >--- > .../bug_3150_-_add_LIST_and_CART_notices.perl | 94 +++++---- > .../mysql/en/mandatory/sample_notices.yml | 90 +++++---- > .../prog/en/modules/basket/sendbasket.tt | 173 ----------------- > .../en/modules/virtualshelves/sendshelf.tt | 179 ----------------- > .../bootstrap/en/modules/opac-sendbasket.tt | 178 ----------------- > .../bootstrap/en/modules/opac-sendshelf.tt | 181 ------------------ > 6 files changed, 90 insertions(+), 805 deletions(-) > delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt > delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt > >diff --git a/installer/data/mysql/atomicupdate/bug_3150_-_add_LIST_and_CART_notices.perl b/installer/data/mysql/atomicupdate/bug_3150_-_add_LIST_and_CART_notices.perl >index 610a58ac12..8b54049d85 100644 >--- a/installer/data/mysql/atomicupdate/bug_3150_-_add_LIST_and_CART_notices.perl >+++ b/installer/data/mysql/atomicupdate/bug_3150_-_add_LIST_and_CART_notices.perl >@@ -1,33 +1,32 @@ > $DBversion = 'XXX'; > if( CheckVersion( $DBversion ) ) { > $dbh->do(q{ INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES >- ('catalog','LIST','','Send list',1,'Your list: [% listname | html %]',"[%- USE raw -%] >-<p>Hi,</p> >-<p>[% borrower.firstname | $raw %] [% borrower.surname | $raw %] sent you a list from our online catalog called: [% listname | $raw %].</p> >+ ('catalog','LIST','','Send list',1,'Your list: [% listname | html %]',"<p>Hi,</p> >+<p>[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].</p> > <p>Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.</p> > <hr/> >-<p>[% comment | $raw %]</p> >+<p>[% comment | html %]</p> > <hr/> > <ol> > [% FOREACH biblio IN biblios %] > <li> > <span> >- [% biblio.title | $raw %] >+ [% biblio.title | html %] > [% IF ( biblio.subtitle ) %] > [% FOREACH subtitle IN biblio.subtitle.split(' | ') %] >- [% subtitle | $raw %] >+ [% subtitle | html %] > [% END %] > [% END %] >- [% biblio.part_number | $raw %] [% biblio.part_name | $raw %] >+ [% biblio.part_number | html %] [% biblio.part_name | html %] > </span> > <p> > [% IF ( biblio.author || biblio.get_authors_from_MARC ) %] >- <span>Author(s): [% IF ( biblio.author ) %][% biblio.author | $raw %][% END %] >+ <span>Author(s): [% IF ( biblio.author ) %][% biblio.author | html %][% END %] > [% IF ( biblio.get_authors_from_MARC ) %] > [% IF ( biblio.author ) %]; [% END %] > [% FOREACH author IN biblio.get_authors_from_MARC %] > [% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% subfield.separator | $raw %][% subfield.value | $raw %] >+ [% subfield.separator | html %][% subfield.value | html %] > [% END %] > [% UNLESS ( loop.last ) %];[% END %] > [% END %] >@@ -38,50 +37,50 @@ if( CheckVersion( $DBversion ) ) { > [% IF ( biblioitem.isbn ) %] > <span> > ISBN: [% FOREACH isbn IN biblioitem.isbn %] >- [% isbn | $raw %] >+ [% isbn | html %] > [% UNLESS ( loop.last ) %]; [% END %] > [% END %] > </span><br/> > [% END %] > [% IF ( biblioitem.publishercode ) %] > <span> >- Published by: [% biblioitem.publishercode | $raw %] >+ Published by: [% biblioitem.publishercode | html %] > [% IF ( biblioitem.publicationyear ) %] >- in [% biblioitem.publicationyear | $raw %] >+ in [% biblioitem.publicationyear | html %] > [% END %] > [% IF ( biblioitem.pages ) %] >- , [% biblioitem.pages | $raw %] >+ , [% biblioitem.pages | html %] > [% END %] > </span><br/> > [% END %] > [% IF ( biblio.seriestitle ) %] > <span> >- Collection: [% biblio.seriestitle | $raw %] >+ Collection: [% biblio.seriestitle | html %] > </span><br/> > [% END %] > [% IF ( biblio.copyrightdate ) %] > <span> >- Copyright year: [% biblio.copyrightdate | $raw %] >+ Copyright year: [% biblio.copyrightdate | html %] > </span><br/> > [% END %] > [% IF ( biblio.notes ) %] > <span> >- Notes: [% biblio.notes | $raw %] >+ Notes: [% biblio.notes | html %] > </span><br/> > [% END %] > [% IF ( biblio.unititle ) %] > <span> >- Unified title: [% biblio.unititle | $raw %] >+ Unified title: [% biblio.unititle | html %] > </span><br/> > [% END %] > [% IF ( biblio.serial ) %] > <span> >- Serial: [% biblio.serial | $raw %] >+ Serial: [% biblio.serial | html %] > </span><br/> > [% END %] > [% IF ( biblioitem.lccn ) %] > <span> >- LCCN: [% biblioitem.lccn | $raw %] >+ LCCN: [% biblioitem.lccn | html %] > </span><br/> > [% END %] > [% IF ( biblioitem.url ) %] >@@ -92,16 +91,16 @@ if( CheckVersion( $DBversion ) ) { > </p> > [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] > [% IF ( OPACBaseURL ) %] >- <p>In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p> >+ <p>In online catalog: [% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p> > [% END %] > [% IF ( biblio.items.count > 0 ) %] > <p>Items: > <ul> > [% FOREACH item IN biblio.items %]<li> >- [% item.holding_branch.branchname | $raw %] >- [% item.location | $raw %] >- [% IF item.itemcallnumber %]([% item.itemcallnumber | $raw %])[% END %] >- [% item.barcode | $raw %] >+ [% Branches.GetName( item.holdingbranch ) | html %] >+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %] >+ [% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %] >+ [% item.barcode | html %] > </li>[% END %] > </ul> > </p> >@@ -110,33 +109,32 @@ if( CheckVersion( $DBversion ) ) { > </li> > [% END %] > </ol>", 'email','default' ), >- ('catalog','CART','','Send cart',1,'Your cart',"[%- USE raw -%] >-<p>Hi,</p> >-<p>[% borrower.firstname | $raw %] [% borrower.surname | $raw %] sent you a cart from our online catalog.</p> >+ ('catalog','CART','','Send cart',1,'Your cart',"<p>Hi,</p> >+<p>[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.</p> > <p>Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.</p> > <hr/> >-<p>[% comment | $raw %]</p> >+<p>[% comment | html %]</p> > <hr/> > <ol> > [% FOREACH biblio IN biblios %] > <li> > <span> >- [% biblio.title | $raw %] >+ [% biblio.title | html %] > [% IF ( biblio.subtitle ) %] > [% FOREACH subtitle IN biblio.subtitle.split(' | ') %] >- [% subtitle | $raw %] >+ [% subtitle | html %] > [% END %] > [% END %] >- [% biblio.part_number | $raw %] [% biblio.part_name | $raw %] >+ [% biblio.part_number | html %] [% biblio.part_name | html %] > </span> > <p> > [% IF ( biblio.author || biblio.get_authors_from_MARC ) %] >- <span>Author(s): [% IF ( biblio.author ) %][% biblio.author | $raw %][% END %] >+ <span>Author(s): [% IF ( biblio.author ) %][% biblio.author | html %][% END %] > [% IF ( biblio.get_authors_from_MARC ) %] > [% IF ( biblio.author ) %]; [% END %] > [% FOREACH author IN biblio.get_authors_from_MARC %] > [% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% subfield.separator | $raw %][% subfield.value | $raw %] >+ [% subfield.separator | html %][% subfield.value | html %] > [% END %] > [% UNLESS ( loop.last ) %];[% END %] > [% END %] >@@ -147,50 +145,50 @@ if( CheckVersion( $DBversion ) ) { > [% IF ( biblioitem.isbn ) %] > <span> > ISBN: [% FOREACH isbn IN biblioitem.isbn %] >- [% isbn | $raw %] >+ [% isbn | html %] > [% UNLESS ( loop.last ) %]; [% END %] > [% END %] > </span><br/> > [% END %] > [% IF ( biblioitem.publishercode ) %] > <span> >- Published by: [% biblioitem.publishercode | $raw %] >+ Published by: [% biblioitem.publishercode | html %] > [% IF ( biblioitem.publicationyear ) %] >- in [% biblioitem.publicationyear | $raw %] >+ in [% biblioitem.publicationyear | html %] > [% END %] > [% IF ( biblioitem.pages ) %] >- , [% biblioitem.pages | $raw %] >+ , [% biblioitem.pages | html %] > [% END %] > </span><br/> > [% END %] > [% IF ( biblio.seriestitle ) %] > <span> >- Collection: [% biblio.seriestitle | $raw %] >+ Collection: [% biblio.seriestitle | html %] > </span><br/> > [% END %] > [% IF ( biblio.copyrightdate ) %] > <span> >- Copyright year: [% biblio.copyrightdate | $raw %] >+ Copyright year: [% biblio.copyrightdate | html %] > </span><br/> > [% END %] > [% IF ( biblio.notes ) %] > <span> >- Notes: [% biblio.notes | $raw %] >+ Notes: [% biblio.notes | html %] > </span><br/> > [% END %] > [% IF ( biblio.unititle ) %] > <span> >- Unified title: [% biblio.unititle | $raw %] >+ Unified title: [% biblio.unititle | html %] > </span><br/> > [% END %] > [% IF ( biblio.serial ) %] > <span> >- Serial: [% biblio.serial | $raw %] >+ Serial: [% biblio.serial | html %] > </span><br/> > [% END %] > [% IF ( biblioitem.lccn ) %] > <span> >- LCCN: [% biblioitem.lccn | $raw %] >+ LCCN: [% biblioitem.lccn | html %] > </span><br/> > [% END %] > [% IF ( biblioitem.url ) %] >@@ -201,16 +199,16 @@ if( CheckVersion( $DBversion ) ) { > </p> > [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] > [% IF ( OPACBaseURL ) %] >- <p>In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p> >+ <p>In online catalog: [% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p> > [% END %] > [% IF ( biblio.items.count > 0 ) %] > <p>Items: > <ul> > [% FOREACH item IN biblio.items %]<li> >- [% item.holding_branch.branchname | $raw %] >- [% item.location | $raw %] >- [% IF item.itemcallnumber %]([% item.itemcallnumber | $raw %])[% END %] >- [% item.barcode | $raw %] >+ [% Branches.GetName( item.holdingbranch ) | html %] >+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %] >+ [% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %] >+ [% item.barcode | html %] > </li>[% END %] > </ul> > </p> >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index dfb26bdbb3..24fd1d4f1d 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -2121,33 +2121,32 @@ tables: > message_transport_type: email > lang: default > content: >- - "[%- USE raw -%]" > - "<p>Hi,</p>" >- - "<p>[% borrower.firstname | $raw %] [% borrower.surname | $raw %] sent you a list from our online catalog called: [% listname | $raw %].</p>" >+ - "<p>[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].</p>" > - "<p>Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.</p>" > - "<hr/>" >- - "<p>[% comment | $raw %]</p>" >+ - "<p>[% comment | html %]</p>" > - "<hr/>" > - "<ol>" > - "[% FOREACH biblio IN biblios %]" > - "<li>" > - "<span>" >- - "[% biblio.title | $raw %]" >+ - "[% biblio.title | html %]" > - "[% IF ( biblio.subtitle ) %]" > - "[% FOREACH subtitle IN biblio.subtitle.split(' | ') %]" >- - "[% subtitle | $raw %]" >+ - "[% subtitle | html %]" > - "[% END %]" > - "[% END %]" >- - "[% biblio.part_number | $raw %] [% biblio.part_name | $raw %]" >+ - "[% biblio.part_number | html %] [% biblio.part_name | html %]" > - "</span>" > - "<p>" > - "[% IF ( biblio.author || biblio.get_authors_from_MARC ) %]" >- - "<span>Author(s): [% IF ( biblio.author ) %][% biblio.author | $raw %][% END %]" >+ - "<span>Author(s): [% IF ( biblio.author ) %][% biblio.author | html %][% END %]" > - "[% IF ( biblio.get_authors_from_MARC ) %]" > - "[% IF ( biblio.author ) %]; [% END %]" > - "[% FOREACH author IN biblio.get_authors_from_MARC %]" > - "[% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %]" >- - "[% subfield.separator | $raw %][% subfield.value | $raw %]" >+ - "[% subfield.separator | html %][% subfield.value | html %]" > - "[% END %]" > - "[% UNLESS ( loop.last ) %];[% END %]" > - "[% END %]" >@@ -2158,50 +2157,50 @@ tables: > - "[% IF ( biblioitem.isbn ) %]" > - "<span>" > - "ISBN: [% FOREACH isbn IN biblioitem.isbn %]" >- - "[% isbn | $raw %]" >+ - "[% isbn | html %]" > - "[% UNLESS ( loop.last ) %]; [% END %]" > - "[% END %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblioitem.publishercode ) %]" > - "<span>" >- - "Published by: [% biblioitem.publishercode | $raw %]" >+ - "Published by: [% biblioitem.publishercode | html %]" > - "[% IF ( biblioitem.publicationyear ) %]" >- - "in [% biblioitem.publicationyear | $raw %]" >+ - "in [% biblioitem.publicationyear | html %]" > - "[% END %]" > - "[% IF ( biblioitem.pages ) %]" >- - ", [% biblioitem.pages | $raw %]" >+ - ", [% biblioitem.pages | html %]" > - "[% END %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.seriestitle ) %]" > - "<span>" >- - "Collection: [% biblio.seriestitle | $raw %]" >+ - "Collection: [% biblio.seriestitle | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.copyrightdate ) %]" > - "<span>" >- - "Copyright year: [% biblio.copyrightdate | $raw %]" >+ - "Copyright year: [% biblio.copyrightdate | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.notes ) %]" > - "<span>" >- - "Notes: [% biblio.notes | $raw %]" >+ - "Notes: [% biblio.notes | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.unititle ) %]" > - "<span>" >- - "Unified title: [% biblio.unititle | $raw %]" >+ - "Unified title: [% biblio.unititle | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.serial ) %]" > - "<span>" >- - "Serial: [% biblio.serial | $raw %]" >+ - "Serial: [% biblio.serial | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblioitem.lccn ) %]" > - "<span>" >- - "LCCN: [% biblioitem.lccn | $raw %]" >+ - "LCCN: [% biblioitem.lccn | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblioitem.url ) %]" >@@ -2212,16 +2211,16 @@ tables: > - "</p>" > - "[% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]" > - "[% IF ( OPACBaseURL ) %]" >- - "<p>In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p>" >+ - "<p>In online catalog: [% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p>" > - "[% END %]" > - "[% IF ( biblio.items.count > 0 ) %]" > - "<p>Items:" > - "<ul>" > - "[% FOREACH item IN biblio.items %]<li>" >- - "[% item.holding_branch.branchname | $raw %]" >- - "[% item.location | $raw %]" >- - "[% IF item.itemcallnumber %]([% item.itemcallnumber | $raw %])[% END %]" >- - "[% item.barcode | $raw %]" >+ - "[% Branches.GetName( item.holdingbranch ) | html %]" >+ - "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]" >+ - "[% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %]" >+ - "[% item.barcode | html %]" > - "</li>[% END %]" > - "</ul>" > - "</p>" >@@ -2240,33 +2239,32 @@ tables: > message_transport_type: email > lang: default > content: >- - "[%- USE raw -%]" > - "<p>Hi,</p>" >- - "<p>[% borrower.firstname | $raw %] [% borrower.surname | $raw %] sent you a cart from our online catalog.</p>" >+ - "<p>[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.</p>" > - "<p>Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.</p>" > - "<hr/>" >- - "<p>[% comment | $raw %]</p>" >+ - "<p>[% comment | html %]</p>" > - "<hr/>" > - "<ol>" > - "[% FOREACH biblio IN biblios %]" > - "<li>" > - "<span>" >- - "[% biblio.title | $raw %]" >+ - "[% biblio.title | html %]" > - "[% IF ( biblio.subtitle ) %]" > - "[% FOREACH subtitle IN biblio.subtitle.split(' | ') %]" >- - "[% subtitle | $raw %]" >+ - "[% subtitle | html %]" > - "[% END %]" > - "[% END %]" >- - "[% biblio.part_number | $raw %] [% biblio.part_name | $raw %]" >+ - "[% biblio.part_number | html %] [% biblio.part_name | html %]" > - "</span>" > - "<p>" > - "[% IF ( biblio.author || biblio.get_authors_from_MARC ) %]" >- - "<span>Author(s): [% IF ( biblio.author ) %][% biblio.author | $raw %][% END %]" >+ - "<span>Author(s): [% IF ( biblio.author ) %][% biblio.author | html %][% END %]" > - "[% IF ( biblio.get_authors_from_MARC ) %]" > - "[% IF ( biblio.author ) %]; [% END %]" > - "[% FOREACH author IN biblio.get_authors_from_MARC %]" > - "[% FOREACH subfield IN author.MARCAUTHOR_SUBFIELDS_LOOP %]" >- - "[% subfield.separator | $raw %][% subfield.value | $raw %]" >+ - "[% subfield.separator | html %][% subfield.value | html %]" > - "[% END %]" > - "[% UNLESS ( loop.last ) %];[% END %]" > - "[% END %]" >@@ -2277,50 +2275,50 @@ tables: > - "[% IF ( biblioitem.isbn ) %]" > - "<span>" > - "ISBN: [% FOREACH isbn IN biblioitem.isbn %]" >- - "[% isbn | $raw %]" >+ - "[% isbn | html %]" > - "[% UNLESS ( loop.last ) %]; [% END %]" > - "[% END %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblioitem.publishercode ) %]" > - "<span>" >- - "Published by: [% biblioitem.publishercode | $raw %]" >+ - "Published by: [% biblioitem.publishercode | html %]" > - "[% IF ( biblioitem.publicationyear ) %]" >- - "in [% biblioitem.publicationyear | $raw %]" >+ - "in [% biblioitem.publicationyear | html %]" > - "[% END %]" > - "[% IF ( biblioitem.pages ) %]" >- - ", [% biblioitem.pages | $raw %]" >+ - ", [% biblioitem.pages | html %]" > - "[% END %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.seriestitle ) %]" > - "<span>" >- - "Collection: [% biblio.seriestitle | $raw %]" >+ - "Collection: [% biblio.seriestitle | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.copyrightdate ) %]" > - "<span>" >- - "Copyright year: [% biblio.copyrightdate | $raw %]" >+ - "Copyright year: [% biblio.copyrightdate | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.notes ) %]" > - "<span>" >- - "Notes: [% biblio.notes | $raw %]" >+ - "Notes: [% biblio.notes | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.unititle ) %]" > - "<span>" >- - "Unified title: [% biblio.unititle | $raw %]" >+ - "Unified title: [% biblio.unititle | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblio.serial ) %]" > - "<span>" >- - "Serial: [% biblio.serial | $raw %]" >+ - "Serial: [% biblio.serial | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblioitem.lccn ) %]" > - "<span>" >- - "LCCN: [% biblioitem.lccn | $raw %]" >+ - "LCCN: [% biblioitem.lccn | html %]" > - "</span><br/>" > - "[% END %]" > - "[% IF ( biblioitem.url ) %]" >@@ -2331,16 +2329,16 @@ tables: > - "</p>" > - "[% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]" > - "[% IF ( OPACBaseURL ) %]" >- - "<p>In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p>" >+ - "<p>In online catalog: [% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | html %]</p>" > - "[% END %]" > - "[% IF ( biblio.items.count > 0 ) %]" > - "<p>Items:" > - "<ul>" > - "[% FOREACH item IN biblio.items %]<li>" >- - "[% item.holding_branch.branchname | $raw %]" >- - "[% item.location | $raw %]" >- - "[% IF item.itemcallnumber %]([% item.itemcallnumber | $raw %])[% END %]" >- - "[% item.barcode | $raw %]" >+ - "[% Branches.GetName( item.holdingbranch ) | html %]" >+ - "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]" >+ - "[% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %]" >+ - "[% item.barcode | html %]" > - "</li>[% END %]" > - "</ul>" > - "</p>" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >deleted file mode 100644 >index 097090a5d2..0000000000 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >+++ /dev/null >@@ -1,173 +0,0 @@ >-[% USE raw %] >-[% USE HtmlToText %] >-[% USE Koha %] >-[% USE Branches %] >- >-<SUBJECT> >-Your cart >-<END_SUBJECT> >- >-<HEADER> >- >-[% FILTER html2text %] >- <p>Hi,</p> >- >- <p>Here is your cart, sent from our online catalog.</p> >- >- <p>Please note that the attached file is a MARC bibliographic records file >- which can be imported into personal bibliographic software like EndNote, >- Reference Manager or ProCite.</p> >- <hr/> >-[% END %] >-<END_HEADER> >- >-<MESSAGE> >-[% FILTER html2text %] >- >- [% IF comment %] >- <p>[% comment | $raw %]</p> >- <hr/> >- [% END %] >- <ol> >- [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >- <li> >- <span> >- [% BIBLIO_RESULT.title | $raw %] >- [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle | $raw %][% END %] >- [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %] >- </span> >- >- <p> >- [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >- <span><span>Author(s):</span> [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author | $raw %][% END %] >- >- [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] >- [% IF ( BIBLIO_RESULT.author ) %]; [% END %] >- [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %] >- [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% MARCAUTHOR_SUBFIELDS_LOO.separator | $raw %][% MARCAUTHOR_SUBFIELDS_LOO.value | $raw %] >- [% END %] >- [% UNLESS ( loop.last ) %];[% END %] >- [% END %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.ISBN ) %] >- <span> >- ISBN: [% BIBLIO_RESULT.ISBN | $raw %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.publishercode %] >- <span> >- Published by: [% BIBLIO_RESULT.publishercode | $raw %] >- [% IF ( BIBLIO_RESULT.publicationyear ) %] >- in [% BIBLIO_RESULT.publicationyear | $raw %] >- [% END %] >- [% IF ( BIBLIO_RESULT.pages ) %] >- , [% BIBLIO_RESULT.pages | $raw %] >- [% END %] >- [% IF BIBLIO_RESULT.item('size') %] >- , [% BIBLIO_RESULT.item('size') | html %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.collection %] >- <span> >- Collection: [% BIBLIO_RESULT.seriestitle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.subject ) %] >- <span> >- Subject: [% BIBLIO_RESULT.subject | $raw %] >- <span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.copyrightdate ) %] >- <span> >- Copyright year: [% BIBLIO_RESULT.copyrightdate | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.notes ) %] >- <span> >- Notes : [% BIBLIO_RESULT.notes | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.unititle ) %] >- <span> >- Unified title: [% BIBLIO_RESULT.unititle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.serial ) %] >- <span> >- Serial: [% BIBLIO_RESULT.serial | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.dewey ) %] >- <span> >- Dewey: [% BIBLIO_RESULT.dewey | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.classification ) %] >- <span> >- Classification: [% BIBLIO_RESULT.classification | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.lccn ) %] >- <span> >- LCCN: [% BIBLIO_RESULT.lccn | $raw %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] >- <span>In: >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >- [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | $raw %] >- [% ELSE %] >- [% BIBLIO_RESULT.HOSTITEMENTRIES | html %] >- [% END %] >- </span> >- <br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.url ) %] >- <span> >- URL: [% BIBLIO_RESULT.url | html %] >- </span> >- [% END %] >- </p> >- >- [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] >- [% IF ( OPACBaseURL ) %] >- <p> >- In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber | html %] >- </p> >- [% END %] >- [% IF ( BIBLIO_RESULT.ITEM_RESULTS.count ) %] >- <p>Items: >- <ul> >- [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li> >- [% Branches.GetName(ITEM_RESULT.holdingbranch) | $raw %] >- [% ITEM_RESULT.location | $raw %] >- [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber | $raw %])[% END %] >- [% ITEM_RESULT.barcode | $raw %] >- </li>[% END %] >- </ul> >- </p> >- [% END %] >- <hr/> >- </li> >- [% END %] >- </ol> >- >-[% END %] >-<END_MESSAGE> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >deleted file mode 100644 >index ed05c96b7f..0000000000 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >+++ /dev/null >@@ -1,179 +0,0 @@ >-[% USE raw %] >-[% USE AuthorisedValues %] >-[% USE Branches %] >-<SUBJECT> >-Your list: [% shelfname | $raw %] >-<END_SUBJECT> >- >-[% USE HtmlToText %] >- >-<HEADER> >-[% FILTER html2text %] >- <p>Hi,</p> >- >- <p>Here is your list called [% shelfname | $raw %], sent from our online catalog.</p> >- >- <p>Please note that the attached file is a MARC bibliographic records file >- which can be imported into personal bibliographic software like EndNote, >- Reference Manager or ProCite.</p> >- <hr/> >-[% END %] >- >-<END_HEADER> >- >-<MESSAGE> >-[% FILTER html2text %] >- >- [% IF comment %] >- <p>[% comment | $raw %]</p> >- <hr/> >- [% END %] >- <ol> >- [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >- <li> >- <span> >- [% BIBLIO_RESULT.title | $raw %] >- [% IF ( BIBLIO_RESULT.subtitle ) %] >- [% FOREACH subtitle IN BIBLIO_RESULT.subtitle.split(' | ') %] >- [% subtitle | $raw %] >- [% END %] >- [% END %] >- [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %] >- </span> >- >- <p> >- [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >- <span><span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author | $raw %][% END %]</span> >- >- [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] >- [% IF ( BIBLIO_RESULT.author ) %]; [% END %] >- [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %] >- [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% MARCAUTHOR_SUBFIELDS_LOO.separator | $raw %][% MARCAUTHOR_SUBFIELDS_LOO.value | $raw %] >- [% END %] >- [% UNLESS ( loop.last ) %];[% END %] >- [% END %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.ISBN.size > 0 ) %] >- <span> >- ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %] >- [% isbn | $raw %] >- [% UNLESS ( loop.last ) %]; [% END %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.publishercode %] >- <span> >- Published by: [% BIBLIO_RESULT.publishercode | $raw %] >- [% IF ( BIBLIO_RESULT.publicationyear ) %] >- in [% BIBLIO_RESULT.publicationyear | $raw %] >- [% END %] >- [% IF ( BIBLIO_RESULT.pages ) %] >- , [% BIBLIO_RESULT.pages | $raw %] >- [% END %] >- [% IF BIBLIO_RESULT.item('size') %] >- , [% BIBLIO_RESULT.item('size') | html %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.collection %] >- <span> >- Collection: [% BIBLIO_RESULT.seriestitle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.subject ) %] >- <span> >- Subject: [% BIBLIO_RESULT.subject | $raw %] >- <span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.copyrightdate ) %] >- <span> >- Copyright year: [% BIBLIO_RESULT.copyrightdate | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.notes ) %] >- <span> >- Notes : [% BIBLIO_RESULT.notes | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.unititle ) %] >- <span> >- Unified title: [% BIBLIO_RESULT.unititle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.serial ) %] >- <span> >- Serial: [% BIBLIO_RESULT.serial | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.dewey ) %] >- <span> >- Dewey: [% BIBLIO_RESULT.dewey | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.classification ) %] >- <span> >- Classification: [% BIBLIO_RESULT.classification | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.lccn ) %] >- <span> >- LCCN: [% BIBLIO_RESULT.lccn | $raw %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] >- <span>In: >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >- [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | $raw %] >- [% ELSE %] >- [% BIBLIO_RESULT.HOSTITEMENTRIES | html %] >- [% END %] >- </span> >- <br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.url ) %] >- <span> >- URL: [% BIBLIO_RESULT.url | html %] >- </span> >- [% END %] >- </p> >- >- [% IF ( OPACBaseURL ) %] >- <p> >- In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber | html %] >- </p> >- [% END %] >- [% IF ( BIBLIO_RESULT.ITEM_RESULTS.count ) %] >- <p>Items: >- <ul> >- [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li> >- [% Branches.GetName(ITEM_RESULT.holdingbranch) | $raw %] >- [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %] >- [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber | $raw %])[% END %] >- [% ITEM_RESULT.barcode | $raw %] >- </li>[% END %] >- </ul> >- </p> >- [% END %] >- <hr/> >- </li> >- [% END %] >- </ol> >- >-[% END %] >-<END_MESSAGE> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >deleted file mode 100644 >index f676084f90..0000000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >+++ /dev/null >@@ -1,178 +0,0 @@ >-[% USE raw %] >-[% USE HtmlToText %] >-[% USE Koha %] >-[% USE AuthorisedValues %] >-[% USE Branches %] >- >-<SUBJECT> >-Your cart >-<END_SUBJECT> >- >-<HEADER> >- >-[% FILTER html2text %] >- <p>Hi,</p> >- >- <p>[% firstname | $raw %] [% surname | $raw %] sent you a cart from our online catalog.</p> >- >- <p>Please note that the attached file is a MARC bibliographic records file >- which can be imported into personal bibliographic software like EndNote, >- Reference Manager or ProCite.</p> >- <hr/> >-[% END %] >-<END_HEADER> >- >-<MESSAGE> >-[% FILTER html2text %] >- >- [% IF comment %] >- <p>[% comment | $raw %]</p> >- <hr/> >- [% END %] >- <ol> >- [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >- <li> >- <span> >- [% BIBLIO_RESULT.title | $raw %] >- [% IF ( BIBLIO_RESULT.subtitle ) %] >- [% FOREACH subtitle IN BIBLIO_RESULT.subtitle.split(' | ') %] >- [% subtitle | $raw %] >- [% END %] >- [% END %] >- [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %] >- </span> >- >- <p> >- [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >- <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author | $raw %][% END %] >- >- [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] >- [% IF ( BIBLIO_RESULT.author ) %]; [% END %] >- [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %] >- [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% MARCAUTHOR_SUBFIELDS_LOO.separator | $raw %][% MARCAUTHOR_SUBFIELDS_LOO.value | $raw %] >- [% END %] >- [% UNLESS ( loop.last ) %];[% END %] >- [% END %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.ISBN ) %] >- <span> >- ISBN: [% BIBLIO_RESULT.ISBN | $raw %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.publishercode %] >- <span> >- <span>Published by: [% BIBLIO_RESULT.publishercode | $raw %] >- [% IF ( BIBLIO_RESULT.publicationyear ) %] >- in [% BIBLIO_RESULT.publicationyear | $raw %] >- [% END %]</span> >- [% IF ( BIBLIO_RESULT.pages ) %] >- , [% BIBLIO_RESULT.pages | $raw %] >- [% END %] >- [% IF BIBLIO_RESULT.item('size') %] >- , [% BIBLIO_RESULT.item('size') | $raw %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.collection %] >- <span> >- Collection: [% BIBLIO_RESULT.seriestitle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.subject ) %] >- <span> >- Subject: [% BIBLIO_RESULT.subject | $raw %] >- <span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.copyrightdate ) %] >- <span> >- Copyright year: [% BIBLIO_RESULT.copyrightdate | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.notes ) %] >- <span> >- Notes : [% BIBLIO_RESULT.notes | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.unititle ) %] >- <span> >- Unified title: [% BIBLIO_RESULT.unititle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.serial ) %] >- <span> >- Serial: [% BIBLIO_RESULT.serial | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.dewey ) %] >- <span> >- Dewey: [% BIBLIO_RESULT.dewey | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.classification ) %] >- <span> >- Classification: [% BIBLIO_RESULT.classification | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.lccn ) %] >- <span> >- LCCN: [% BIBLIO_RESULT.lccn | $raw %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] >- <span>In: >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >- [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | $raw %] >- [% ELSE %] >- [% BIBLIO_RESULT.HOSTITEMENTRIES | html %] >- [% END %] >- </span> >- <br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.url ) %] >- <span> >- URL: [% BIBLIO_RESULT.url | html %] >- </span> >- [% END %] >- </p> >- >- [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %] >- [% IF ( OPACBaseURL ) %] >- <p> >- In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber | html %] >- </p> >- [% END %] >- [% IF ( BIBLIO_RESULT.ITEM_RESULTS.count ) %] >- <p>Items: >- <ul> >- [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li> >- [% Branches.GetName(ITEM_RESULT.holdingbranch) | $raw %] >- [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %] >- [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber | $raw %])[% END %] >- [% ITEM_RESULT.barcode | $raw %] >- </li>[% END %] >- </ul> >- </p> >- [% END %] >- <hr/> >- </li> >- [% END %] >- </ol> >- >-[% END %] >-<END_MESSAGE> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >deleted file mode 100644 >index 4de4ab7f35..0000000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >+++ /dev/null >@@ -1,181 +0,0 @@ >-[% USE raw %] >-[% USE AuthorisedValues %] >-[% USE Branches %] >-<SUBJECT> >-Your list : [% shelfname | $raw %] >-<END_SUBJECT> >- >-[% USE HtmlToText %] >- >-<HEADER> >-[% FILTER html2text %] >- <p>Hi,</p> >- >- <p>[% firstname | $raw %] [% surname | $raw %] sent you from our online catalog, the >- list called : [% shelfname | $raw %].</p> >- >- <p>Please note that the attached file is a MARC bibliographic records file >- which can be imported into personal bibliographic software like EndNote, >- Reference Manager or ProCite.</p> >- <hr/> >-[% END %] >- >-<END_HEADER> >- >-<MESSAGE> >-[% FILTER html2text %] >- >- [% IF comment %] >- <p>[% comment | $raw %]</p> >- <hr/> >- [% END %] >- <ol> >- [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >- <li> >- <span> >- [% BIBLIO_RESULT.title | $raw %] >- [% IF ( BIBLIO_RESULT.subtitle ) %] >- [% FOREACH subtitle IN BIBLIO_RESULT.subtitle.split(' | ') %] >- [% subtitle | $raw %] >- [% END %] >- [% END %] >- [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %] >- </span> >- >- <p> >- [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >- <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author | $raw %][% END %] >- >- [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] >- [% IF ( BIBLIO_RESULT.author ) %]; [% END %] >- [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %] >- [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% MARCAUTHOR_SUBFIELDS_LOO.separator | $raw %][% MARCAUTHOR_SUBFIELDS_LOO.value | $raw %] >- [% END %] >- [% UNLESS ( loop.last ) %];[% END %] >- [% END %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.ISBN.size > 0 ) %] >- <span> >- ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %] >- [% isbn | $raw %] >- [% UNLESS ( loop.last ) %]; [% END %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.publishercode %] >- <span> >- Published by: [% BIBLIO_RESULT.publishercode | $raw %] >- [% IF ( BIBLIO_RESULT.publicationyear ) %] >- in [% BIBLIO_RESULT.publicationyear | $raw %] >- [% END %] >- [% IF ( BIBLIO_RESULT.pages ) %] >- , [% BIBLIO_RESULT.pages | $raw %] >- [% END %] >- [% IF BIBLIO_RESULT.item('size') %] >- , [% BIBLIO_RESULT.item('size') | html %] >- [% END %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.collection %] >- <span> >- Collection: [% BIBLIO_RESULT.seriestitle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.subject ) %] >- <span> >- Subject: [% BIBLIO_RESULT.subject | $raw %] >- <span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.copyrightdate ) %] >- <span> >- Copyright year: [% BIBLIO_RESULT.copyrightdate | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.notes ) %] >- <span> >- Notes : [% BIBLIO_RESULT.notes | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.unititle ) %] >- <span> >- Unified title: [% BIBLIO_RESULT.unititle | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.serial ) %] >- <span> >- Serial: [% BIBLIO_RESULT.serial | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.dewey ) %] >- <span> >- Dewey: [% BIBLIO_RESULT.dewey | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.classification ) %] >- <span> >- Classification: [% BIBLIO_RESULT.classification | $raw %] >- </span><br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.lccn ) %] >- <span> >- LCCN: [% BIBLIO_RESULT.lccn | $raw %] >- </span><br/> >- [% END %] >- >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES %] >- <span>In: >- [% IF BIBLIO_RESULT.HOSTITEMENTRIES.biblionumber %] >- [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | $raw %] >- [% ELSE %] >- [% BIBLIO_RESULT.HOSTITEMENTRIES | html %] >- [% END %] >- </span> >- <br/> >- [% END %] >- >- [% IF ( BIBLIO_RESULT.url ) %] >- <span> >- URL: [% BIBLIO_RESULT.url | html %] >- </span> >- [% END %] >- </p> >- >- [% IF ( OPACBaseURL ) %] >- <p> >- In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber | html %] >- </p> >- [% END %] >- [% IF ( BIBLIO_RESULT.ITEM_RESULTS.count ) %] >- <p>Items: >- <ul> >- [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li> >- [% Branches.GetName(ITEM_RESULT.holdingbranch) | $raw %] >- [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %] >- [% IF ITEM_RESULT.itemcallnumber %]([% ITEM_RESULT.itemcallnumber | $raw %])[% END %] >- [% ITEM_RESULT.barcode | $raw %] >- </li>[% END %] >- </ul> >- </p> >- [% END %] >- <hr/> >- </li> >- [% END %] >- </ol> >- >-[% END %] >- >-<END_MESSAGE> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 3150
:
114127
|
114545
|
114579
|
114582
|
117237
|
118313
|
120477
|
120478
|
121026
|
121027
|
121037
|
121038
|
123020
|
123021
|
123022
|
125225
|
125226
|
125227
|
125379
|
126544
|
126545
|
126546
|
126547
|
130150
|
130151
|
130152
|
130153
|
134304
|
134305
|
134306
|
134307
|
134308
|
134477
|
137690
|
137691
|
137692
|
137693
|
137694
|
137716
|
137717
|
137718
|
137719
|
137720
|
137878
|
140246
|
140247
|
140248
|
140249
|
140250
|
140251
|
140252
|
140253
|
140254
|
140255
|
140256
|
140257
|
140258
|
140259
|
145229
|
145230
|
145231
|
145232
|
145233
|
145234
|
145676
|
145677
|
145678
|
145679
|
145680
|
145681
|
146560
|
146561
|
146562
|
146563
|
146564
|
146565
|
146566
|
146858
|
146859
|
146860
|
146861
|
146862
|
146863
|
146864
|
146865
|
146866
|
146867
|
146987
|
147423
|
147868
|
147869
|
147870
|
147871
|
147872
|
147873
|
147874
|
147875
|
147876
|
147877
|
147878
|
147879
|
147880
|
148045
|
148170
|
148171
|
148172
|
148173
|
148174
|
148175
|
148176
|
148177
|
148178
|
148179
|
148180
|
148181
|
148182
|
148183
|
148184
|
148185