<ul>
[% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %]
[% IF ( sort_by ) %]
- [% url = BLOCK | html %][% url | html %][% "&sort_by=" _ sort_by |url %][% END %]
+ [% url = BLOCK %][% url | html %][% "&sort_by=" _ sort_by |url %][% END %]
[% END %]
[% FOREACH facet IN facets_loo.facets %]
[% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
<td>
[% IF loop_receive.cannot_cancel or ( order.basket.effective_create_items == "receiving" and loop_receive.holds > 0 ) %]
[% IF loop_receive.cannot_cancel %]
- [% span_title = BLOCK | html %]
+ [% span_title = BLOCK %]
Cannot cancel receipt of this order line because it
was created from a partial receipt of order line no.
[% order.parent_ordernumber | html %], which is
[% ELSE %]
[%# FIXME Here we block the cancellation if holds exist. Actually it could be possible if items will be exist after the deletion %]
[%# Some additional checks should be added in the pl file %]
- [% span_title = BLOCK | html %]
+ [% span_title = BLOCK %]
Cannot cancel receipt of this order line because at least one reservation exists on the records.
[% END %]
[% END %]
[% url_params = [] | html %]
[% FOREACH param IN CGI.params.pairs %]
- [% escaped_value = BLOCK | html %][% param.value | uri %][% END %]
+ [% escaped_value = BLOCK %][% param.value | uri %][% END %]
[% url_params.push(param.key _ '=' _ escaped_value) | html %]
[% END %]
[% SET referrer = '/cgi-bin/koha/serials/serials-search.pl?' %]
-[% referrer = BLOCK | html %][% referrer | url %][% url_params.join("&") |uri %][% END %]
+[% referrer = BLOCK %][% referrer | url %][% url_params.join("&") |uri %][% END %]
[% SET edit_action_link = '/cgi-bin/koha/serials/subscription-batchedit.pl?referrer=' _ referrer %]
[% BLOCK subscriptions_table %]
<p>You searched for <b>[% searchfield | html %]</b></p>
[% END %]
[% IF ( letter && !independant_branch) %]
- [% select_for_copy = BLOCK | html %]
+ [% select_for_copy = BLOCK %]
<select name="branchcode">
[% FOREACH l IN Branches.all() %]
<option value="[% l.branchcode | html %]">Copy to [% l.branchname | html %]</option>
<ul>
[% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi _ limit_cgi %]
[% IF ( sort_by ) %]
- [% url = BLOCK | html %][% url | html %][% "&sort_by=" _ sort_by |url %][% END %]
+ [% url = BLOCK %][% url | html %][% "&sort_by=" _ sort_by |url %][% END %]
[% END %]
[% FOREACH facet IN facets_loo.facets %]
[% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,1) || facet.facet_label_value %][% END %]
<div class="results_summary ratings">
[% SET rating_avg = ratings.get_avg_rating() %]
- [% rating_avg_int = BLOCK | html %][% rating_avg | format("%.0f") %][% END %]
+ [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
[% FOREACH i IN [ 1 2 3 4 5 ] %]
[% IF rating_avg_int == i && borrowernumber %]
<input class="auto-submit-star" type="radio" name="rating" value="[% i | html %]" checked="checked" />
[% IF ( OpacStarRatings == 'all' ) %]
<div class="results_summary ratings">
[% SET rating_avg = SEARCH_RESULT.ratings.get_avg_rating() %]
- [% rating_avg_int = BLOCK | html %][% rating_avg | format("%.0f") %][% END %]
+ [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
[% FOREACH i IN [ 1 2 3 4 5 ] %]
[% IF rating_avg_int == i %]
<input class="star" type="radio" name="rating-[% SEARCH_RESULT.biblionumber | html %]" value="[% i | html %]" checked="checked" disabled="disabled" />