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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc (-7 / +14 lines)
Lines 3-17 Link Here
3
3
4
[% USE Koha %]
4
[% USE Koha %]
5
[% IF Koha.Preference('DumpTemplateVarsIntranet') %]
5
[% IF Koha.Preference('DumpTemplateVarsIntranet') %]
6
    [% USE Stash %]
6
    [% TRY %]
7
    [% USE Dumper %]
7
        [% USE Stash %]
8
    <!--
8
        [% USE Dumper %]
9
    [% FILTER replace('<!--', '<!- -') %]
9
        <!--
10
        [% FILTER replace('-->', '- ->') %]
10
        [% FILTER replace('<!--', '<!- -') %]
11
            [% Dumper.dump( Stash.stash() ) %]
11
            [% FILTER replace('-->', '- ->') %]
12
                [% Dumper.dump( Stash.stash() ) %]
13
            [% END %]
12
        [% END %]
14
        [% END %]
15
        -->
16
    [% CATCH %]
17
        <!--
18
            DumpTemplateVarsIntranet is set to 'Do', but
19
            Template::Plugin::Stash is not installed.
20
        -->
13
    [% END %]
21
    [% END %]
14
    -->
15
[% END %]
22
[% END %]
16
23
17
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
24
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc (-8 / +14 lines)
Lines 3-17 Link Here
3
3
4
[% USE Koha %]
4
[% USE Koha %]
5
[% IF Koha.Preference('DumpTemplateVarsOpac') %]
5
[% IF Koha.Preference('DumpTemplateVarsOpac') %]
6
    [% USE Stash %]
6
    [% TRY %]
7
    [% USE Dumper %]
7
        [% USE Stash %]
8
    <!--
8
        [% USE Dumper %]
9
    [% FILTER replace('<!--', '<!- -') %]
9
        <!--
10
        [% FILTER replace('-->', '- ->') %]
10
        [% FILTER replace('<!--', '<!- -') %]
11
            [% Dumper.dump( Stash.stash() ) %]
11
            [% FILTER replace('-->', '- ->') %]
12
                [% Dumper.dump( Stash.stash() ) %]
13
            [% END %]
12
        [% END %]
14
        [% END %]
15
        -->
16
    [% CATCH %]
17
        <!--
18
            DumpTemplateVarsOpac is set to 'Do', but
19
            Template::Plugin::Stash is not installed.
20
        -->
13
    [% END %]
21
    [% END %]
14
    -->
15
[% END %]
22
[% END %]
16
23
17
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]" class="no-js">[% ELSE %]<html lang="[% lang %]" class="no-js">[% END %]
24
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]" class="no-js">[% ELSE %]<html lang="[% lang %]" class="no-js">[% END %]
18
- 

Return to bug 13948