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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 13 Mar 2020 00:00:22 +0000 (00:00 +0000)
commit710a37220017025c039d64a06a307130bfdcae67
tree9dd6d62fc4c0d61eef986c4bd47585c648a81bea
parentfe86bf2b6c7a0afb8be0a0030f8013dd9f5d7f85
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>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc