#
# This file is part of Koha.
#
-# Koha is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 3 of the License, or (at your option) any later
-# version.
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
#
-# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
-# You should have received a copy of the GNU General Public License along
-# with Koha; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>.
use Modern::Perl;
<div>
- <table class="ill-availability" id="[% service.id %]">
- <thead id="[% service.id %]-header">
+ <table class="ill-availability" id="[% service.id | html %]">
+ <thead id="[% service.id | html %]-header">
<tr>
<th>Source</th>
<th>Title</th>
<th>Date</th>
</tr>
</thead>
- <tbody id="[% service.id %]-body">
+ <tbody id="[% service.id | html %]-body">
</tbody>
</table>
</div>
</div>
<div class="modal-body">
[% FOR service IN services %]
- <h4 class="ill_availability_sourcename">[% service.name %]</h4>
+ <h4 class="ill_availability_sourcename">[% service.name | html %]</h4>
[% INCLUDE 'ill-availability-table.inc' service=service %]
[% END %]
<span id="service_id_restrict" data-service_id_restrict_plugin="ILL availability - z39.50" data-service_id_restrict_ids=""></span>
[% custom_values = whole.custom_value.split('\0') %]
[% i = 0 %]
[% FOREACH custom_key IN custom_keys %]
- <input type="hidden" name="custom_key" value="[% custom_key %]">
- <input type="hidden" name="custom_value" value="[% custom_values.$i %]">
+ <input type="hidden" name="custom_key" value="[% custom_key | html %]">
+ <input type="hidden" name="custom_value" value="[% custom_values.$i | html %]">
[% i = i + 1 %]
[% END %]
<input type="hidden" name="method" value="create">
</div>
</form>
[% FOR service IN services %]
- <h4 class="ill_availability_sourcename">[% service.name %]</h4>
+ <h4 class="ill_availability_sourcename">[% service.name | html %]</h4>
[% INCLUDE 'ill-availability-table.inc' service=service %]
[% END %]
</div>
<div>
- <div>[% service.name %]</div>
- <table class="ill-availability table table-bordered table-striped" id="[% service.id %]">
- <thead id="[% service.id %]-header">
+ <div>[% service.name | html %]</div>
+ <table class="ill-availability table table-bordered table-striped" id="[% service.id | html %]">
+ <thead id="[% service.id | html %]-header">
<tr>
<th>Source</th>
<th>Title</th>
<th>Date</th>
</tr>
</thead>
- <tbody id="[% service.id %]-body">
+ <tbody id="[% service.id | html %]-body">
</tbody>
</table>
</div>
[% custom_values = whole.custom_value.split('\0') %]
[% i = 0 %]
[% FOREACH custom_key IN custom_keys %]
- <input type="hidden" name="custom_key" value="[% custom_key %]">
- <input type="hidden" name="custom_value" value="[% custom_values.$i %]">
+ <input type="hidden" name="custom_key" value="[% custom_key | html %]">
+ <input type="hidden" name="custom_value" value="[% custom_values.$i | html %]">
[% i = i + 1 %]
[% END %]
<input type="hidden" name="checked_availability" value="1">
</div>
</form>
[% FOR service IN services %]
- <h4 class="ill_availability_sourcename">[% service.name %]</h4>
+ <h4 class="ill_availability_sourcename">[% service.name | html %]</h4>
[% INCLUDE 'ill-availability-table.inc' service=service %]
[% END %]
</div>