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

(-)a/C4/Installer/PerlDependencies.pm (+5 lines)
Lines 822-827 our $PERL_DEPS = { Link Here
822
        'required' => '0',
822
        'required' => '0',
823
        'min_ver'  => '0.03',
823
        'min_ver'  => '0.03',
824
    },
824
    },
825
    'Template::Stash::AutoEscaping' => {
826
        'usage'    => 'Code',
827
        'required' => '1',
828
        'min_ver'  => '0.0303',
829
    },
825
};
830
};
826
831
827
1;
832
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 56-62 Link Here
56
                    <div id="userauthsearchresults" class="maincontent">
56
                    <div id="userauthsearchresults" class="maincontent">
57
                        <h1>Authority search results</h1>
57
                        <h1>Authority search results</h1>
58
58
59
                        [% pagination %]
59
                        [% PROCESS pagination %]
60
60
61
                        <div id="results">
61
                        <div id="results">
62
                            [% IF ( total ) %]
62
                            [% IF ( total ) %]
Lines 102-108 Link Here
102
                                </table>
102
                                </table>
103
                            </div> <!-- / .searchresults -->
103
                            </div> <!-- / .searchresults -->
104
104
105
                            [% pagination %]
105
                            [% PROCESS pagination %]
106
106
107
                        [% END # / IF total %]
107
                        [% END # / IF total %]
108
                    </div> <!-- / #userauthsearchresults -->
108
                    </div> <!-- / #userauthsearchresults -->
109
- 

Return to bug 13618