Why? Because we must filter the variables when we display them.
If we escape them on assignement, they will be double escaped:
[% XXX = "<span>pouet</span>" | html %]
[% XXX | html %]
=> <span>pouet</span>
Also it will bring trouble if we are assigning a structure (see bug
21663 for instance).
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
[%# First check to see if we have anything selected, otherwise we select all %]
-[% selectall = 1 | html %]
+[% selectall = 1 %]
[% FOREACH branch IN branches %]
[% IF branch.selected %]
- [% selectall = 0 | html %]
+ [% selectall = 0 %]
[% END %]
[% END %]
<div class="branchselector">
<td>[% current_date_and_time | $KohaDates with_hours => 1 | html %]</td>
</tr>
<tr>
- [% timezone_config_class = (time_zone.config_invalid) ? 'status_warn' : '' | html %]
- [% timezone_env_class = (time_zone.env_invalid) ? 'status_warn' : '' | html %]
+ [% timezone_config_class = (time_zone.config_invalid) ? 'status_warn' : '' %]
+ [% timezone_env_class = (time_zone.env_invalid) ? 'status_warn' : '' %]
<th scope="row">Time zone: </th>
<td>Used: <span>[% time_zone.actual | html %]</span>
[% IF time_zone.actual_bad_tz_fallback %]
<a class="edit_note" data-ordernumber="[% books_loo.ordernumber | html %]" data-note_type="vendor" href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber | html %]&type=vendor" title="Add vendor note"><i class="fa fa-plus"></i> Add vendor note</a>
[% END %]
[% IF (books_loo.transferred_from) %]
- [% basket = books_loo.transferred_from.basket | html %]
- [% bookseller = books_loo.transferred_from.bookseller | html %]
- [% timestamp = books_loo.transferred_from.timestamp | html %]
+ [% basket = books_loo.transferred_from.basket %]
+ [% bookseller = books_loo.transferred_from.bookseller %]
+ [% timestamp = books_loo.transferred_from.timestamp %]
<p>Transferred from basket:
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"> [% basket.basketname | html %]</a>
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | html %]">[% bookseller.name | html %]</a>)
- on <span title="[% timestamp | $KohaDates with_hours = 1 | html %]">
+ on <span title="[% timestamp | $KohaDates with_hours = 1 %]">
[% timestamp | $KohaDates %]
</span>
</p>
[% END %]
</p>
[% IF order.transferred_to %]
- [% basket = order.transferred_to.basket | html %]
- [% bookseller = order.transferred_to.bookseller | html %]
- [% timestamp = order.transferred_to.timestamp | html %]
+ [% basket = order.transferred_to.basket %]
+ [% bookseller = order.transferred_to.bookseller %]
+ [% timestamp = order.transferred_to.timestamp %]
<p>Transferred to basket:
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"> [% basket.basketname | html %]</a>
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | html %]">[% bookseller.name | html %]</a>)
- on <span title="[% timestamp | $KohaDates with_hours = 1 | html %]">
+ on <span title="[% timestamp | $KohaDates with_hours = 1 %]">
[% timestamp | $KohaDates %]
</span>
</p>
<td><span title="[% basket.creationdate | html %]">[% basket.creationdate | $KohaDates %]</span></td>
<td>
[% IF basket.basketgroup %]
- [% basketgroup = basket.basketgroup | html %]
+ [% basketgroup = basket.basketgroup %]
[% IF basketgroup.closed %]
[% basketgroup.name | html %] (closed)
[% ELSE %]
<th>Encumber while invoice open</th>
<th> </th>
</tr>
- [% total_adj = 0 | html %]
+ [% total_adj = 0 %]
[% FOREACH adjustment IN adjustments %]
- [% total_adj = total_adj + adjustment.adjustment | html %]
+ [% total_adj = total_adj + adjustment.adjustment %]
<tr>
<td><input type="hidden" name="adjustment_id" value="[% adjustment.adjustment_id | html %]" />[% adjustment.adjustment_id | html %]</td>
<td><input type="text" name="adjustment" id="adjustment_[% adjustment.adjustment_id | html %]" value="[% adjustment.adjustment | $Price %]" /></td>
<td>
- [% reasons = AuthorisedValues.Get("ADJ_REASON") | html %]
+ [% reasons = AuthorisedValues.Get("ADJ_REASON") %]
[% IF reasons.0 %]
<select id="reason_[% adjustment.adjustment_id | html %]" name="reason">
<option value="">No reason</option>
<label for="adjustment_new">Amount: </label>
<input type="text" name="adjustment" id="adjustment_new" />
</li>
- [% reasons = AuthorisedValues.Get("ADJ_REASON") | html %]
+ [% reasons = AuthorisedValues.Get("ADJ_REASON") %]
[% IF reasons.0 %]
<li>
<label for="reason_[% adjustment.adjustment_id | html %]">Reason: </label>
<input type="hidden" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
[% ELSE %]
<label class="required" for="budget_id">Fund: </label>
- [% active_count = 0 | html %]
+ [% active_count = 0 %]
[% IF !ordernumber %]
[% FOREACH budget_loo IN budget_loop %]
- [% active_count= active_count + budget_loo.b_active | html %]
+ [% active_count= active_count + budget_loo.b_active %]
[% END %]
[% END %]
<select id="budget_id" size="1" name="budget_id">
<option value="">Select a fund</option>
[% FOREACH budget_loo IN budget_loop %]
[% IF ( budget_loo.b_sel ) %]
- [% active_count = 0 #select no other fund | html %]
+ [% active_count = 0 #select no other fund %]
<option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
style="padding-left:[% budget_loo.b_level | html %]em;"
>
<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl | html %]" alt=""/>[% ELSE %] [% END %]</td>
<td>
[% IF loo.branches.size > 0 %]
- [% branches_str = "" | html %]
+ [% branches_str = "" %]
[% FOREACH branch IN loo.branches %]
- [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" | html %]
+ [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
[% END %]
<span href="#" title="[% branches_str | html %]">
[% IF loo.branches.size > 1 %]
<td>
[% SET branch_limitations = category.branch_limitations %]
[% IF branch_limitations.size > 0 %]
- [% branches_str = "" | html %]
+ [% branches_str = "" %]
[% FOREACH branch IN branch_limitations %]
- [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" | html %]
+ [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
[% END %]
<span title="[% branches_str | html %]">
[% IF branch_limitations.size > 1 %]
[%# PARAMS: selected_norm, id, name %]
[% UNLESS valid_norms.grep(selected_norm).size %]
[%# Fallback to 'none' %]
-[% selected_norm = 'none' | html %]
+[% selected_norm = 'none' %]
[% END %]
<select id="[% id | html %]" name="[% name | html %]">
[% PROCESS norms_options selected_norm=selected_norm %]
<td>[% item.description | html %]</td>
<td>
[% IF ( item.branches && item.branches.size > 0 ) %]
- [% branches_str = "" | html %]
+ [% branches_str = "" %]
[% FOREACH branch IN item.branches %]
- [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" | html %]
+ [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
[% END %]
<span title="[% branches_str | html %]">
[% IF item.branches.size > 1 %]
[% USE ColumnsSettings %]
[% IF Koha.Preference('AmazonAssocTag') %]
- [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
+ [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
[% ELSE %]
- [% AmazonAssocTag = '' | html %]
+ [% AmazonAssocTag = '' %]
[% END %]
[% ShowCourseReserves = 0 | html %]
[% IF items_search_fields.size %]
<optgroup label="Custom search fields">
[% FOREACH field IN items_search_fields %]
- [% marcfield = field.tagfield | html %]
+ [% marcfield = field.tagfield %]
[% IF field.tagsubfield %]
- [% marcfield = marcfield _ '$' _ field.tagsubfield | html %]
+ [% marcfield = marcfield _ '$' _ field.tagsubfield %]
[% END %]
<option value="marc:[% marcfield | html %]" data-authorised-values-category="[% field.authorised_values_category | html %]">[% field.label | html %] ([% marcfield | html %])</option>
[% END %]
[% SEARCH_RESULT.XSLTResultsRecord | $raw %]
[% ELSE %]
<p>[% SEARCH_RESULT.result_number | html %].
- [% biblionumber = SEARCH_RESULT.biblionumber | html %]
+ [% biblionumber = SEARCH_RESULT.biblionumber %]
[% INCLUDE 'biblio-default-view.inc' %]
<b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title | html %][% ELSE %]No title[% END %]</b>
<tr>
<th>Biblionumber</th>
[% FOREACH key IN report_header.keys.sort %]
- [% tag = key.substr(0, 3) | html %]
- [% code = key.substr(3, 1) | html %]
+ [% tag = key.substr(0, 3) %]
+ [% code = key.substr(3, 1) %]
[% IF code == '@' %]
- [% header = tag | html %]
+ [% header = tag %]
[% ELSE %]
- [% header = tag _ '$' _ code | html %]
+ [% header = tag _ '$' _ code %]
[% END %]
<th>[% header | html %]</th>
[% END %]
</td>
[% FOREACH key IN report_header.keys.sort %]
<td>
- [% values = record.fields.$key | html %]
+ [% values = record.fields.$key %]
[% IF values %]
[% FOREACH value IN record.fields.$key %]
[% value | html %]
[% IF ( itemtype_notforloan ) %]
Item type is normally not for loan.
[% ELSIF ( item_notforloan ) %]
- [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) | html %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
[% END %]
[% IF CAN_user_circulate_force_checkout %]
[% IF ( itemtype_notforloan ) %]
Item type not for loan.
[% ELSIF ( item_notforloan ) %]
- [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) | html %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
[% END %]
</li>
[% IF checkout_info.itemtype_notforloan %]
<li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li>
[% ELSIF checkout_info.item_notforloan %]
- [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) | html %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
<li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li>
[% END %]
[% END %]
[% IF checkout_info.itemtype_notforloan %]
<li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li>
[% ELSIF checkout_info.item_notforloan %]
- [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) | html %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
<li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib | html %])[% END %].</li>
[% END %]
[% END %]
</li>
<li class="status">
<label class="status">Status:</label>
- [% stat = request.status | html %]
+ [% stat = request.status %]
[% request.capabilities.$stat.name | html %]
</li>
<li class="updated">
<tbody>
[% FOR d IN validated_discharges %]
<tr>
- <td>[% d.needed | $KohaDates with_hours = 1 | html %]</td>
- <td>[% d.validated | $KohaDates with_hours = 1 | html %]</td>
+ <td>[% d.needed | $KohaDates with_hours = 1 %]</td>
+ <td>[% d.validated | $KohaDates with_hours = 1 %]</td>
</tr>
[% END %]
</tbody>
$(document).ready(function () {
$("#entryform,#saverecord").hide();
- [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') | html %]
+ [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') %]
var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field | html %]",[% END %]];
var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields
$("#entryform label").each(function () {
<div id="pending_updates">
[% FOREACH pm IN PendingModifications %]
[% SET borrowernumber = pm.borrowernumber %]
- <h3><a href="#panel_modify_[% pm.borrowernumber | html %]">[% borrowers.$borrowernumber.surname | html %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname | html %][% END %] - [% Categories.GetName( borrowers.$borrowernumber.categorycode ) | html %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) | html %]) ([% borrowers.$borrowernumber.cardnumber | html %]) - Requested on [% pm.timestamp | $KohaDates with_hours = 1 | html %]</a></h3>
+ <h3><a href="#panel_modify_[% pm.borrowernumber | html %]">[% borrowers.$borrowernumber.surname | html %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname | html %][% END %] - [% Categories.GetName( borrowers.$borrowernumber.categorycode ) | html %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) | html %]) ([% borrowers.$borrowernumber.cardnumber | html %]) - Requested on [% pm.timestamp | $KohaDates with_hours = 1 %]</a></h3>
<div id="panel_modify_[% pm.borrowernumber | html %]">
<div style="background-color:#E6F0F2;padding:.5em;margin:.3em 0;">
<input type="radio" id="approve_modify_[% pm.borrowernumber | html %]" name="modify_[% pm.borrowernumber | html %]" value="approve" />
[% END %]
[% FOREACH manualinv IN manualinv_types %]
- [% value_manualinv = manualinv.authorised_value|truncate(5, '') | html %]
+ [% value_manualinv = manualinv.authorised_value|truncate(5, '') %]
[% IF transaction_type == value_manualinv %]
<option value="[% value_manualinv | html %]" selected="selected">[% manualinv.authorised_value | html %]</option>
[% ELSE %]
<span>New card</span>
[% ELSE %]
[% FOREACH manualinv IN manualinv_types %]
- [% value_manualinv = manualinv.authorised_value|truncate(5, '') | html %]
+ [% value_manualinv = manualinv.authorised_value|truncate(5, '') %]
[% IF loopresul.accounttype == value_manualinv %]
<span>[% manualinv.authorised_value | html %]</span>
[% LAST %]
[% FOREACH result IN results %]
<tr>
[% FOREACH cells IN result.cells %]
- [% place = loop.index | html %]
+ [% place = loop.index %]
[% IF header_row.$place.cell == 'itemnumber' %]
<input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" />
[% END %]
</thead>
<tbody>
[% FOREACH lette IN letter %]
- [% can_edit = lette.branchcode || !independant_branch | html %]
+ [% can_edit = lette.branchcode || !independant_branch %]
<tr>
<td>[% IF lette.branchname %][% lette.branchname | html %][% ELSE %](All libraries)[% END %]</td>
<td>
[% END %]
[% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%]
- [% op = 'noshow' # Change op to prevent display in code below | html %]
+ [% op = 'noshow' # Change op to prevent display in code below %]
<h1>Batch patrons modification</h1>
<div class="dialog alert">
<p>No patron card numbers given.</p>
[% IF ( item.itemlost ) %]
[% SET itemavailable = 0 %]
- [% av_lib_include = AuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) | html %]
+ [% av_lib_include = AuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
[% IF ( av_lib_include ) %]
<span class="item-status lost">[% av_lib_include | html %]</span>
[% ELSE %]
[% IF ( item.withdrawn ) %]
[% SET itemavailable = 0 %]
- [% av_lib_include = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn, 1 ) | html %]
+ [% av_lib_include = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn, 1 ) %]
[% IF av_lib_include %]
<span class="item-status withdrawn">[% av_lib_include | html %]</span>
[% ELSE %]
[% IF ( item.damaged ) %]
[% SET itemavailable = 0 %]
- [% av_lib_include = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) | html %]
+ [% av_lib_include = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
[% IF av_lib_include %]
<span class="item-status damaged">[% av_lib_include | html %]</span>
[% ELSE %]
</select></li>
[% END %]
- [% AdvancedSearchTypes = Koha.Preference('AdvancedSearchTypes').split('\|') | html %]
+ [% AdvancedSearchTypes = Koha.Preference('AdvancedSearchTypes').split('\|') %]
[% IF AdvancedSearchTypes.grep('^itemtypes$').size %]
<li>
<label for="itemtype">Limit to: </label>
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
[% IF Koha.Preference('AmazonAssocTag') %]
- [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
+ [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
[% ELSE %]
- [% AmazonAssocTag = '' | html %]
+ [% AmazonAssocTag = '' %]
[% END %]
-[% ShowCourseReservesHeader = 0 | html %]
+[% ShowCourseReservesHeader = 0 %]
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
[% FOREACH ITEM_RESULT IN itemloop %]
[% IF ITEM_RESULT.course_reserves %]
[% FOREACH r IN ITEM_RESULT.course_reserves %]
[% IF r.course.enabled == 'yes' %]
- [% ShowCourseReservesHeader = 1 | html %]
+ [% ShowCourseReservesHeader = 1 %]
[% END %]
[% END %]
[% END %]
<div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div>
[% END %]
[% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
- [% coce_id = normalized_ean || normalized_isbn | html %]
+ [% coce_id = normalized_ean || normalized_isbn %]
<div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div>
[% END %]
[% IF OpenLibraryCovers %]
<div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div>
[% END %]
- [% bt_id = ( normalized_upc || normalized_isbn ) | html %]
+ [% bt_id = ( normalized_upc || normalized_isbn ) %]
[% IF ( BakerTaylorEnabled && bt_id ) %]
[% IF BakerTaylorBookstoreURL %]
[% IF ( OPACURLOpenInNewWindow ) %]
[% END # /OPACPopupAuthorsSearch %]
[% FOREACH MARCAUTHOR IN MARCAUTHORS %]
- [% authorsloop = loop | html %]
+ [% authorsloop = loop %]
[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
[% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
[% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
<b>All</b>
</label>
[% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
- [% subjectsloop = loop | html %]
+ [% subjectsloop = loop %]
[% IF MARCSUBJCT.authoritylink %]
<ul id="subjectsList[% loop.count | html %]" data-authid="[% MARCSUBJCT.authoritylink | html %]">
[% ELSE %]
[% END # /OPACPopupAuthorsSearch%]
[% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
- [% subjectsloop = loop | html %]
+ [% subjectsloop = loop %]
[% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
[% SUBFIELD.separator | html %]
[% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
<span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
[% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
- [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) | html %]
+ [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
[% IF ( home_branch_url ) %]
<a href="[% home_branch_url | html %]">[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</a>
[% ELSE %]
</thead>
<tbody>
[% FOREACH request IN requests %]
- [% status = request.status | html %]
+ [% status = request.status %]
<tr>
<td>[% request.id | html %]</td>
<td>
[% ELSIF method == 'view' %]
<h2>View interlibrary loan request</h2>
[% INCLUDE messages %]
- [% status = request.status | html %]
+ [% status = request.status %]
<form method="post" action="?method=update" id="illrequestupdate-form" novalidate="novalidate">
<fieldset class="rows">
<legend id="library_legend">Details from library</legend>
<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc | html %]&oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="" />
[% END %][% END %][% END %]
-[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) | html %]
+[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |url %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |url %][% bt_id | html %]" /></a>[% END %][% END %]
<p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author | html %]. [% END %]
[% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place | html %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode | html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear | html %]
[% INCLUDE 'masthead.inc' %]
[% IF Koha.Preference('AmazonAssocTag') %]
- [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
+ [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
[% ELSE %]
- [% AmazonAssocTag = '' | html %]
+ [% AmazonAssocTag = '' %]
[% END %]
<div class="main">
[% FOREACH issue IN READING_RECORD %]
<tr>
<td style="display:none;">
- [% IF issue.onsite_checkout %][% issuetype = 'onsite_checkout' | html %]
- [% ELSE %][% issuetype = 'standard_checkout' | html %]
+ [% IF issue.onsite_checkout %][% issuetype = 'onsite_checkout' %]
+ [% ELSE %][% issuetype = 'standard_checkout' %]
[% END %]
[% issuetype | html %]
</td>
[% END %]
[% IF BakerTaylorEnabled %]
- [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) | html %]
+ [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
[% IF ( bt_id ) %]
<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
[% ELSE %]
[% END %]
[% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
- [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn | html %]
+ [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %]
[% IF ( coce_id ) %]
<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
[% ELSE %]
[% END %]
[% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
- [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) | html %]
+ [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
[% IF ( bt_id ) %]
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
[% ELSE %]
</a>
[% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
- [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) | html %]
+ [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
[% IF ( bt_id ) %]
<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]">
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
[% END %]
[% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
- [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn | html %]
+ [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn %]
[% IF ( coce_id ) %]
<span title="[% itemsloo.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
[% ELSE %]
</a> <!-- / .p1 -->
[% IF ( BakerTaylorEnabled ) %]
- [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) | html %]
+ [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
[% IF ( bt_id ) %]
<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
[% ELSE %]
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" alt="" />
[% END %][% END %][% END %]
-[% bt_id = ( review.normalized_upc || review.normalized_isbn ) | html %]
+[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>[% END %]
[% IF ( review.author ) %]<p>By [% review.author | html %].</p> [% END %]
<p>[% IF ( review.place ) %][% review.place | html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear | html %]
[% END %]
[% END %]
</a>
- [% bt_id = ( review.normalized_upc || review.normalized_isbn ) | html %]
+ [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
[% IF ( BakerTaylorEnabled ) %]
[% IF ( bt_id ) %]
<a href="https://[% review.BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
[% INCLUDE 'masthead.inc' %]
[% IF Koha.Preference('AmazonAssocTag') %]
- [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
+ [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
[% ELSE %]
- [% AmazonAssocTag = '' | html %]
+ [% AmazonAssocTag = '' %]
[% END %]
<div class="main">
[% END %]
[% IF ( BakerTaylorEnabled ) %]
- [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) | html %]
+ [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
[% IF ( bt_id ) %]
<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
[% ELSE %]
[% END %]
[% IF ( BakerTaylorEnabled ) %]
- [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) | html %]
+ [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
[% IF ( bt_id ) %]
<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
[% ELSE %]