summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorendico%mozilla.org <>2000-07-14 08:12:49 +0200
committerendico%mozilla.org <>2000-07-14 08:12:49 +0200
commit65695473717fdcadbcc85cac9c469231f352c739 (patch)
treeb5486ebe797e96143e40ca38a08cff2f8288d9fe /buglist.cgi
parent17c6ef4af4c9c781d6d7a07be420762dfd065703 (diff)
downloadbugzilla-65695473717fdcadbcc85cac9c469231f352c739.tar.gz
bugzilla-65695473717fdcadbcc85cac9c469231f352c739.tar.xz
Bug moving code is now fully implemented. To use it, turn on the param and set the move related params.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi20
1 files changed, 17 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi
index fca19ba51..7a02233dd 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1277,7 +1277,6 @@ document.write(\" <input type=button value=\\\"Uncheck All\\\" onclick=\\\"SetCh
value_quote($::dontchange) . "\"></TD>
</TR>";
}
-
if (@::legal_keywords) {
print qq{
@@ -1394,8 +1393,21 @@ To make changes to a bunch of bugs at once:
comment explaining what you're doing.)
<li> Click the below \"Commit\" button.
</ol></font>
-<INPUT TYPE=SUBMIT VALUE=Commit>
-</FORM><hr>\n";
+<INPUT TYPE=SUBMIT VALUE=Commit>";
+
+ my $movers = Param("movers");
+ $movers =~ s/\s?,\s?/|/g;
+ $movers =~ s/@/\@/g;
+
+ if ( Param("move-enabled")
+ && (defined $::COOKIE{"Bugzilla_login"})
+ && ($::COOKIE{"Bugzilla_login"} =~ /($movers)/) ){
+ print "<P>";
+ print "<INPUT TYPE=\"SUBMIT\" NAME=\"action\" VALUE=\"";
+ print Param("move-button-text") . "\">";
+ }
+
+ print "</FORM><hr>\n";
}
@@ -1425,8 +1437,10 @@ if ($count > 0) {
}
print qq{&nbsp;&nbsp;\n};
print qq{<NOBR><A HREF="query.cgi?$::buffer">Edit this query</A></NOBR>\n};
+
print "</FORM>\n";
}
+
PutFooter();
if ($serverpush) {