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

(-)a/C4/Installer/PerlDependencies.pm (+5 lines)
Lines 737-742 our $PERL_DEPS = { Link Here
737
        'required' => '0',
737
        'required' => '0',
738
        'min_ver'  => '0.89',
738
        'min_ver'  => '0.89',
739
    },
739
    },
740
    'Template::Stash::AutoEscaping' => {
741
        'usage'    => 'Code',
742
        'required' => '1',
743
        'min_ver'  => '0.0303',
744
    },
740
};
745
};
741
746
742
1;
747
1;
(-)a/C4/Templates.pm (+2 lines)
Lines 5-10 use warnings; Link Here
5
use Carp;
5
use Carp;
6
use CGI qw ( -utf8 );
6
use CGI qw ( -utf8 );
7
use List::MoreUtils qw/ any uniq /;
7
use List::MoreUtils qw/ any uniq /;
8
use Template::Stash::AutoEscaping;
8
9
9
# Copyright 2009 Chris Cormack and The Koha Dev Team
10
# Copyright 2009 Chris Cormack and The Koha Dev Team
10
#
11
#
Lines 69-74 sub new { Link Here
69
            COMPILE_DIR => $use_template_cache ? C4::Context->config('template_cache_dir') : '',
70
            COMPILE_DIR => $use_template_cache ? C4::Context->config('template_cache_dir') : '',
70
            INCLUDE_PATH => \@includes,
71
            INCLUDE_PATH => \@includes,
71
            FILTERS => {},
72
            FILTERS => {},
73
            STASH => Template::Stash::AutoEscaping->new,
72
            ENCODING => 'UTF-8',
74
            ENCODING => 'UTF-8',
73
        }
75
        }
74
    ) or die Template->error();
76
    ) or die Template->error();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt (-4 / +3 lines)
Lines 1-7 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% PROCESS 'opac-authorities.inc' %]
2
[% PROCESS 'opac-authorities.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
3
[% PROCESS 'authorities-search-results.inc' %]
4
[% pagination = BLOCK %]
4
[% BLOCK pagination %]
5
    <div class="pagination">
5
    <div class="pagination">
6
        <ul>
6
        <ul>
7
            [% IF ( displayprev ) %]
7
            [% IF ( displayprev ) %]
Lines 55-61 Link Here
55
                    <div id="userauthsearchresults" class="maincontent">
55
                    <div id="userauthsearchresults" class="maincontent">
56
                        <h1>Authority search results</h1>
56
                        <h1>Authority search results</h1>
57
57
58
                        [% pagination %]
58
                        [% PROCESS pagination %]
59
59
60
                        <div id="results">
60
                        <div id="results">
61
                            [% IF ( total ) %]
61
                            [% IF ( total ) %]
Lines 101-107 Link Here
101
                                </table>
101
                                </table>
102
                            </div> <!-- / .searchresults -->
102
                            </div> <!-- / .searchresults -->
103
103
104
                            [% pagination %]
104
                            [% PROCESS pagination %]
105
105
106
                        [% END # / IF total %]
106
                        [% END # / IF total %]
107
                    </div> <!-- / #userauthsearchresults -->
107
                    </div> <!-- / #userauthsearchresults -->
108
- 

Return to bug 13618