From: David Lawrence Date: Tue, 5 Jul 2011 03:30:21 +0000 (-0400) Subject: Bug 666699 - Example extension templates have unfiltered directives X-Git-Tag: bugzilla-4.1.3~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=937eda7dafb27a9c6df4d00f27954622ff90ca33;p=thirdparty%2Fbugzilla.git Bug 666699 - Example extension templates have unfiltered directives r/a=mkanat --- diff --git a/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl b/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl index 4ed719fe0a..a12848087d 100644 --- a/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl +++ b/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl @@ -19,5 +19,5 @@ #%] [% IF panel.name == "auth" %] - [% panel.param_descs.param_example ='Example new parameter' %] + [% panel.param_descs.param_example = 'Example new parameter' %] [% END -%] diff --git a/extensions/Example/template/en/default/pages/example.html.tmpl b/extensions/Example/template/en/default/pages/example.html.tmpl index d53f78fde7..919fa15b41 100644 --- a/extensions/Example/template/en/default/pages/example.html.tmpl +++ b/extensions/Example/template/en/default/pages/example.html.tmpl @@ -26,7 +26,7 @@

Here's what you passed me:

[% USE Dumper %]
-  [% Dumper.dump_html(cgi_variables) %]
+  [% Dumper.dump_html(cgi_variables) FILTER none %]
 
[% PROCESS global/footer.html.tmpl %]