]> git.koha-community.org Git - koha.git/commit
Bug 24110: Do not html filter TT vars when dumped
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Nov 2019 08:27:21 +0000 (09:27 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Feb 2020 11:23:17 +0000 (11:23 +0000)
commitfe43d98bd1492a1aeb94d2a3df987ca6c5ed7150
treefed06ff66f8b105ac0fe58c0f3674cfdd970cd53
parent5ecabb315add6fd27772178bb8aed745c59e4cf3
Bug 24110: Do not html filter TT vars when dumped

DumpTemplateVarsIntranet and DumpTemplateVarsOpac are devs tools to
display the variables sent to the template. They should not be filtered
otherwise it's getting complicate to read.

For instance: $VAR1 = { var =&gt; val }

Test plan:
Turn DumpTemplateVarsIntranet on
Go to the main page
Show the source of the page
Confirm that the variable are displayed as it and not filtered

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc