From 397beebc19dfac0417a64fdbcfb4e6657f6ad9f5 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 7 Jan 2000 05:16:13 +0000 Subject: Add support for a new "keywords" feature. This lets some central authority maintain a list of keywords, and users can associate any keyword with any bug. The new functionality won't appear until at least one keyword is defined. Note that you *must* run the "checksetup.pl" script after updating this change, in order to create the new required tables "keywords" and "keyworddefs". --- query.cgi | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 5cb40f147..a0ae1f0b3 100755 --- a/query.cgi +++ b/query.cgi @@ -77,7 +77,7 @@ foreach my $name ("bug_status", "resolution", "assigned_to", "rep_platform", "changedin", "votes", "short_desc", "short_desc_type", "long_desc", "long_desc_type", "bug_file_loc", "bug_file_loc_type", "status_whiteboard", - "status_whiteboard_type") { + "status_whiteboard_type", "keywords") { $default{$name} = ""; $type{$name} = 0; } @@ -367,17 +367,20 @@ print $jscript; my @logfields = ("[Bug creation]", @::log_columns); -print " -
+print qq{ + - - - - - - + + + + + + +}; + +print " + + +}; +} + print "
Status:Resolution:Platform:OpSys:Priority:Severity:Status:Resolution:Platform:OpSys:Priority:Severity:
@@ -538,6 +541,25 @@ if (Param("usestatuswhiteboard")) { StringSearch("Status whiteboard", "status_whiteboard"); } +if (@::legal_keywords) { + my $def = value_quote($default{'keywords'}); + print qq{ +
Keywords:

@@ -591,6 +613,9 @@ if (UserInGroup("tweakparams")) { if (UserInGroup("editcomponents")) { print "Edit Bugzilla products and components
\n"; } +if (UserInGroup("editkeywords")) { + print "Edit Bugzilla keywords
\n"; +} if (defined $::COOKIE{"Bugzilla_login"}) { print "Log in as someone besides $::COOKIE{'Bugzilla_login'}
\n"; } -- cgit v1.2.3-24-g4f1b