From d53b09470938c680ee76385d0066fcc61cba6d5f Mon Sep 17 00:00:00 2001 From: "caillon%returnzero.com" <> Date: Tue, 23 Apr 2002 05:32:58 +0000 Subject: Bug 138604, make the bugzilla sidebar use valid XUL plus some template cleanup. r=bbaetz,gerv --- template/en/default/sidebar.xul.tmpl | 56 +++++++++++++++++------------------- 1 file changed, 26 insertions(+), 30 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl index 02ee1bf9b..652317642 100644 --- a/template/en/default/sidebar.xul.tmpl +++ b/template/en/default/sidebar.xul.tmpl @@ -19,6 +19,7 @@ # # Contributor(s): Jacob Steenhagen # Scott Collins + # Christopher A. Aillon #%] @@ -30,11 +31,10 @@ orient="vertical" onload="document.getElementById('query-field').addEventListener('keypress', initial_keypress_handler, true)"> -// Load QuickSearch libraries - +]]> - + @@ -70,42 +70,38 @@ function normal_keypress_handler( aEvent ) { [% IF username %] -[% END %] -[% IF UserInGroup('tweakparams') %] + [%- IF UserInGroup('tweakparams') %] -[% END %] -[% IF UserInGroup('editusers') || blessgroupset %] + [%- END %] + [%- IF UserInGroup('editusers') || blessgroupset %] -[% END %] -[% IF UserInGroup('editcomponents') %] + [%- END %] + [%- IF UserInGroup('editcomponents') %] -[% END %] -[% IF UserInGroup('creategroups') %] + [%- END %] + [%- IF UserInGroup('creategroups') %] -[% END %] -[% IF UserInGroup('editkeywords') %] + [%- END %] + [%- IF UserInGroup('editkeywords') %] -[% END %] -[% IF UserInGroup('tweakparams') %] + [%- END %] + [%- IF UserInGroup('tweakparams') %] -[% END %] -[% IF username %] + [%- END %] -[% END %] - -[% IF mybugsurl %] + [%- IF mybugsurl %] -[% END %] -[% IF anyvotesallowed && username %] + [%- END %] + [%- IF anyvotesallowed %] -[% END %] + [%- END %] -[% FOREACH name = namedqueries %] + [%- FOREACH name = namedqueries %] -[% END %] + [% END %] -[% IF NOT username %] +[% ELSE %] [% END %] -- cgit v1.2.3-24-g4f1b