diff options
author | terry%mozilla.org <> | 1999-10-08 08:54:47 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-10-08 08:54:47 +0200 |
commit | c6f80310afc00cf7d5114e638cbaaefde3914da0 (patch) | |
tree | 6bdaf2497180648d821f3a91e320b6c80b29de23 /editcomponents.cgi | |
parent | 12d85f8fa42b7130608531ea61b287e9fa822125 (diff) | |
download | bugzilla-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.gz bugzilla-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.xz |
Added the ability for users to "vote" on which bugs they think should
be fixed.
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-x | editcomponents.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi index a7e1e660e..e4b6a23de 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -59,12 +59,12 @@ GetVersionTable(); my $prodcode = "P000"; foreach my $product (@::legal_product) { - SendSQL("select description, milestoneurl, disallownew from products where product='$product'"); + SendSQL("select description, milestoneurl, disallownew, votesperuser from products where product='$product'"); my @row = FetchSQLData(); if (!@row) { next; } - my ($description, $milestoneurl, $disallownew) = (@row); + my ($description, $milestoneurl, $disallownew, $votesperuser) = (@row); $prodcode++; print "<input type=hidden name=prodcode-$prodcode value=\"" . value_quote($product) . "\">\n"; @@ -77,6 +77,9 @@ foreach my $product (@::legal_product) { print "<td><input size=80 name=$prodcode-milestoneurl value=\"" . value_quote($milestoneurl) . "\"></td></tr>\n"; } + print qq{<tr><th align=right>Maximum votes per user:</th><td>\n}; + print qq{<input size=10 name=$prodcode-votesperuser value=$votesperuser>}; + print qq{</td></tr>\n}; my $check0 = !$disallownew ? " SELECTED" : ""; my $check1 = $disallownew ? " SELECTED" : ""; print "<tr><td colspan=2><select name=$prodcode-disallownew>\n"; |