From 026539311662235ea26f5f3cfe885322846db6fb Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sun, 7 Sep 2003 02:23:09 +0000 Subject: Bug 207044 - Filter more template directives. None of these are security bugs, but they need fixing anyway. Patch by gerv; r,a=justdave. --- template/en/default/bug/dependency-tree.html.tmpl | 44 ++++++++++++++--------- 1 file changed, 27 insertions(+), 17 deletions(-) (limited to 'template/en/default/bug/dependency-tree.html.tmpl') diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index 194691e56..16f68b394 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -32,8 +32,14 @@ [% PROCESS depthControlToolbar %] [%# Display the tree of bugs that this bug depends on. %] -

[% hide_resolved ? "Open $terms.bugs" : "$terms.Bugs" %] - that [% terms.bug %] [% bugid %] depends on

+

+ [% IF hide_resolved %] + Open [% terms.bugs %] + [% ELSE %] + [% terms.Bugs %] + [% END %] + that [% terms.bug %] [% bugid %] + depends on

[% IF dependson_ids.size > 0 %] ( [% IF maxdepth -%]Up to [% maxdepth %] level[% "s" IF maxdepth > 1 %] deep | [% END %] @@ -48,8 +54,14 @@ [% END %] [%# Display the tree of bugs that this bug blocks. %] -

[% hide_resolved ? "Open $terms.bugs" : "$terms.Bugs" %] - that [% terms.bug %] [% bugid %] blocks

+

+ [% IF hide_resolved %] + Open [% terms.bugs %] + [% ELSE %] + [% terms.Bugs %] + [% END %] + that [% terms.bug %] [% bugid %] + blocks

[% IF blocked_ids.size > 0 %] ( [% IF maxdepth -%]Up to [% maxdepth %] level[% "s" IF maxdepth > 1 %] deep | [% END %] @@ -112,7 +124,8 @@ [% END %] - + @@ -128,9 +141,8 @@
[%# set to one form %] - + @@ -148,9 +160,8 @@ : ( maxdepth ? maxdepth - 1 : realdepth - 1 ) %]"> - +
@@ -165,7 +176,7 @@ @@ -180,10 +191,9 @@ [% END %] - = realdepth ? - "disabled" : "" - %]> + = realdepth %] + %]> @@ -194,7 +204,7 @@ + [% "disabled" IF maxdepth == 0 || maxdepth == realdepth %]> -- cgit v1.2.3-24-g4f1b