View | Details | Raw Unified | Return to bug 23173
Collapse All | Expand All

(-)a/Koha.pm (-10 / +10 lines)
Lines 5-22 package Koha; Link Here
5
#
5
#
6
# This file is part of Koha.
6
# This file is part of Koha.
7
#
7
#
8
# Koha is free software; you can redistribute it and/or modify it
8
# Koha is free software; you can redistribute it and/or modify it under the
9
# under the terms of the GNU General Public License as published by
9
# terms of the GNU General Public License as published by the Free Software
10
# the Free Software Foundation; either version 3 of the License, or
10
# Foundation; either version 3 of the License, or (at your option) any later
11
# (at your option) any later version.
11
# version.
12
#
12
#
13
# Koha is distributed in the hope that it will be useful, but
13
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
14
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
16
# GNU General Public License for more details.
17
#
16
#
18
# You should have received a copy of the GNU General Public License
17
# You should have received a copy of the GNU General Public License along
19
# along with Koha; if not, see <http://www.gnu.org/licenses>.
18
# with Koha; if not, write to the Free Software Foundation, Inc.,
19
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
20
21
use Modern::Perl;
21
use Modern::Perl;
22
22
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-availability-table.inc (-3 / +3 lines)
Lines 1-6 Link Here
1
<div>
1
<div>
2
    <table class="ill-availability" id="[% service.id %]">
2
    <table class="ill-availability" id="[% service.id | html %]">
3
        <thead id="[% service.id %]-header">
3
        <thead id="[% service.id | html %]-header">
4
            <tr>
4
            <tr>
5
                <th>Source</th>
5
                <th>Source</th>
6
                <th>Title</th>
6
                <th>Title</th>
Lines 10-16 Link Here
10
                <th>Date</th>
10
                <th>Date</th>
11
            </tr>
11
            </tr>
12
        </thead>
12
        </thead>
13
        <tbody id="[% service.id %]-body">
13
        <tbody id="[% service.id | html %]-body">
14
        </tbody>
14
        </tbody>
15
    </table>
15
    </table>
16
</div>
16
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-4 / +4 lines)
Lines 332-338 Link Here
332
                                        </div>
332
                                        </div>
333
                                        <div class="modal-body">
333
                                        <div class="modal-body">
334
                                            [% FOR service IN services %]
334
                                            [% FOR service IN services %]
335
                                                <h4 class="ill_availability_sourcename">[% service.name %]</h4>
335
                                                <h4 class="ill_availability_sourcename">[% service.name | html %]</h4>
336
                                                [% INCLUDE 'ill-availability-table.inc' service=service %]
336
                                                [% INCLUDE 'ill-availability-table.inc' service=service %]
337
                                            [% END %]
337
                                            [% END %]
338
                                            <span id="service_id_restrict" data-service_id_restrict_plugin="ILL availability - z39.50" data-service_id_restrict_ids=""></span>
338
                                            <span id="service_id_restrict" data-service_id_restrict_plugin="ILL availability - z39.50" data-service_id_restrict_ids=""></span>
Lines 733-740 Link Here
733
                            [% custom_values = whole.custom_value.split('\0') %]
733
                            [% custom_values = whole.custom_value.split('\0') %]
734
                            [% i = 0 %]
734
                            [% i = 0 %]
735
                            [% FOREACH custom_key IN custom_keys %]
735
                            [% FOREACH custom_key IN custom_keys %]
736
                                <input type="hidden" name="custom_key" value="[% custom_key %]">
736
                                <input type="hidden" name="custom_key" value="[% custom_key | html %]">
737
                                <input type="hidden" name="custom_value" value="[% custom_values.$i %]">
737
                                <input type="hidden" name="custom_value" value="[% custom_values.$i | html %]">
738
                            [% i = i + 1 %]
738
                            [% i = i + 1 %]
739
                            [% END %]
739
                            [% END %]
740
                            <input type="hidden" name="method" value="create">
740
                            <input type="hidden" name="method" value="create">
Lines 747-753 Link Here
747
                            </div>
747
                            </div>
748
                        </form>
748
                        </form>
749
                        [% FOR service IN services %]
749
                        [% FOR service IN services %]
750
                            <h4 class="ill_availability_sourcename">[% service.name %]</h4>
750
                            <h4 class="ill_availability_sourcename">[% service.name | html %]</h4>
751
                            [% INCLUDE 'ill-availability-table.inc' service=service %]
751
                            [% INCLUDE 'ill-availability-table.inc' service=service %]
752
                        [% END %]
752
                        [% END %]
753
                    </div>
753
                    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/ill-availability-table.inc (-4 / +4 lines)
Lines 1-7 Link Here
1
<div>
1
<div>
2
    <div>[% service.name %]</div>
2
    <div>[% service.name | html %]</div>
3
    <table class="ill-availability table table-bordered table-striped" id="[% service.id %]">
3
    <table class="ill-availability table table-bordered table-striped" id="[% service.id | html %]">
4
        <thead id="[% service.id %]-header">
4
        <thead id="[% service.id | html %]-header">
5
            <tr>
5
            <tr>
6
                <th>Source</th>
6
                <th>Source</th>
7
                <th>Title</th>
7
                <th>Title</th>
Lines 11-17 Link Here
11
                <th>Date</th>
11
                <th>Date</th>
12
            </tr>
12
            </tr>
13
        </thead>
13
        </thead>
14
        <tbody id="[% service.id %]-body">
14
        <tbody id="[% service.id | html %]-body">
15
        </tbody>
15
        </tbody>
16
    </table>
16
    </table>
17
</div>
17
</div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt (-4 / +3 lines)
Lines 239-246 Link Here
239
                                [% custom_values = whole.custom_value.split('\0') %]
239
                                [% custom_values = whole.custom_value.split('\0') %]
240
                                [% i = 0 %]
240
                                [% i = 0 %]
241
                                [% FOREACH custom_key IN custom_keys %]
241
                                [% FOREACH custom_key IN custom_keys %]
242
                                    <input type="hidden" name="custom_key" value="[% custom_key %]">
242
                                    <input type="hidden" name="custom_key" value="[% custom_key | html %]">
243
                                    <input type="hidden" name="custom_value" value="[% custom_values.$i %]">
243
                                    <input type="hidden" name="custom_value" value="[% custom_values.$i | html %]">
244
                                [% i = i + 1 %]
244
                                [% i = i + 1 %]
245
                                [% END %]
245
                                [% END %]
246
                                <input type="hidden" name="checked_availability" value="1">
246
                                <input type="hidden" name="checked_availability" value="1">
Lines 251-257 Link Here
251
                                </div>
251
                                </div>
252
                            </form>
252
                            </form>
253
                            [% FOR service IN services %]
253
                            [% FOR service IN services %]
254
                                <h4 class="ill_availability_sourcename">[% service.name %]</h4>
254
                                <h4 class="ill_availability_sourcename">[% service.name | html %]</h4>
255
                                [% INCLUDE 'ill-availability-table.inc' service=service %]
255
                                [% INCLUDE 'ill-availability-table.inc' service=service %]
256
                            [% END %]
256
                            [% END %]
257
                        </div>
257
                        </div>
258
- 

Return to bug 23173