diff options
author | endico%mozilla.org <> | 2000-07-14 06:12:49 +0000 |
---|---|---|
committer | endico%mozilla.org <> | 2000-07-14 06:12:49 +0000 |
commit | 65695473717fdcadbcc85cac9c469231f352c739 (patch) | |
tree | b5486ebe797e96143e40ca38a08cff2f8288d9fe /buglist.cgi | |
parent | 17c6ef4af4c9c781d6d7a07be420762dfd065703 (diff) | |
download | bugs-65695473717fdcadbcc85cac9c469231f352c739.tar bugs-65695473717fdcadbcc85cac9c469231f352c739.tar.gz bugs-65695473717fdcadbcc85cac9c469231f352c739.tar.bz2 bugs-65695473717fdcadbcc85cac9c469231f352c739.tar.xz bugs-65695473717fdcadbcc85cac9c469231f352c739.zip |
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-x | buglist.cgi | 20 |
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{ \n}; print qq{<NOBR><A HREF="query.cgi?$::buffer">Edit this query</A></NOBR>\n}; + print "</FORM>\n"; } + PutFooter(); if ($serverpush) { |