38f4c5264d
Updates OPAC templates to refer to OPACBaseURL (the properly capitalized name) instead of OPACBaseurl Also fixes some T:T scope errors when OPACBaseURL was called within a loop Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
43 lines
2.5 KiB
Text
43 lines
2.5 KiB
Text
<SUBJECT>
|
|
Your List : [% shelfname %]
|
|
<END_SUBJECT>
|
|
|
|
<HEADER>
|
|
Hi,
|
|
|
|
Here is your list called [% shelfname %], sent from our online catalog.
|
|
|
|
Please note that the attached file is a MARC bibliographic records file
|
|
which can be imported into a Personal Bibliographic Software like EndNote,
|
|
Reference Manager or ProCite.
|
|
<END_HEADER>
|
|
|
|
<MESSAGE>
|
|
---------------------------------------------
|
|
[% IF ( comment ) %]
|
|
[% comment %]
|
|
[% END %]
|
|
[% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %][% BIBLIO_RESULT.title %][% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %][% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
|
|
Author(s): [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %][% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %][% MARCAUTHOR_SUBFIELDS_LOO.value %][% END %][% UNLESS ( loop.last ) %]; [% ELSE %]
|
|
[% END %][% END %][% END %][% IF ( BIBLIO_RESULT.ISBN ) %]
|
|
ISBN: [% BIBLIO_RESULT.ISBN %][% END %]
|
|
[% IF ( BIBLIO_RESULT.publishercode ) %]Published by: [% BIBLIO_RESULT.publishercode %][% END %][% IF ( BIBLIO_RESULT.publicationyear ) %] in [% END %][% BIBLIO_RESULT.publicationyear %][% IF ( BIBLIO_RESULT.pages ) %], [% END %][% BIBLIO_RESULT.pages %][% IF ( BIBLIO_RESULT.size ) %], [% END %][% BIBLIO_RESULT.size %][% IF ( BIBLIO_RESULT.collection ) %]
|
|
Collection: [% BIBLIO_RESULT.seriestitle %][% END %][% IF ( BIBLIO_RESULT.subject ) %]
|
|
Subject: [% BIBLIO_RESULT.subject %][% END %][% IF ( BIBLIO_RESULT.copyrightdate ) %]
|
|
Copyright year: [% BIBLIO_RESULT.copyrightdate %][% END %][% IF ( BIBLIO_RESULT.notes ) %]
|
|
Notes : [% BIBLIO_RESULT.notes %][% END %][% IF ( BIBLIO_RESULT.unititle ) %]
|
|
Unified title: [% BIBLIO_RESULT.unititle %][% END %][% IF ( BIBLIO_RESULT.serial ) %]
|
|
Serial: [% BIBLIO_RESULT.serial %][% END %][% IF ( BIBLIO_RESULT.dewey ) %]
|
|
Dewey: [% BIBLIO_RESULT.dewey %][% END %][% IF ( BIBLIO_RESULT.classification ) %]
|
|
Classification: [% BIBLIO_RESULT.classification %][% END %][% IF ( BIBLIO_RESULT.lccn ) %]
|
|
LCCN: [% BIBLIO_RESULT.lccn %][% END %][% IF ( BIBLIO_RESULT.url ) %]
|
|
url : [% BIBLIO_RESULT.url %][% END %]
|
|
In the online catalog:
|
|
[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber |url %]
|
|
Items : [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
|
|
[% ITEM_RESULT.branchname %] [% ITEM_RESULT.location %] [% IF ( ITEM_RESULT.itemcallnumber ) %]([% ITEM_RESULT.itemcallnumber %])[% END %] [% ITEM_RESULT.barcode %][% END %]
|
|
|
|
---------------------------------------------
|
|
|
|
[% END %]
|
|
<END_MESSAGE>
|