]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 18 Mar 2020 16:59:13 +0000 (16:59 +0000)
commitff7f0a867c56d131d3a41d8812f700293fae4b60
treec1eb0c9502e79ffc9381ff1b5c0426c8e705ee9d
parentd70412bf23a855bf46db17291f53f992f3a7e67f
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 710a37220017025c039d64a06a307130bfdcae67)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc