httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@hyperreal.org
Subject cvs commit: apache-site bugdb.cgi
Date Mon, 10 Nov 1997 22:23:24 GMT
coar        97/11/10 14:23:24

  Modified:    .        bugdb.cgi
  Log:
  	Added two canned-response buttons alongside the "Edit" button.
  	Editors can now one-step-close a PR with canned text about it
  	being a duplicate (read the FAQ and search the db), or about
  	it being a CGI/basic configuration issue (read the FAQ, search
  	the db, and check the newsgroups).
  
  Revision  Changes    Path
  1.17      +60 -5     apache-site/bugdb.cgi
  
  Index: bugdb.cgi
  ===================================================================
  RCS file: /export/home/cvs/apache-site/bugdb.cgi,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- bugdb.cgi	1997/11/09 17:04:58	1.16
  +++ bugdb.cgi	1997/11/10 22:23:23	1.17
  @@ -54,6 +54,8 @@
   #    occlude things like "mod_auth-any".
   #  11/9/1997 Ken Coar - Make "general" the default category on new PRs,
   #    and "non-critical" the default severity.
  +#  11/10/1997 Ken Coar - Added some "canned response" buttons on the
  +#    full display page seen by authorised editors.
   #
   ### End Modification log
   
  @@ -191,7 +193,7 @@
   ### Main menu
   } elsif ($PATH_INFO eq "") {
       &main_menu();
  -    print "<HR><SMALL>Version: 9 November 1997<BR>Authors: ",
  +    print "<HR><SMALL>Version: 10 November 1997<BR>Authors: ",
   	"<A HREF=\"http://alumni.caltech.edu/~dank/gnats.html\">Dan Kegel ",
   	"and Huy Le</A>, <BR> ",
   	"with revamp work by ",
  @@ -1376,11 +1378,64 @@
   	print "$err\n";
       } else {
   	if ($ENV{'REMOTE_USER'}) {
  +	    local ($timestamp) = &timestamp($fullpr);
   	    print <<EOM;
  -<FORM ACTION="$SCRIPT_NAME/edit_pr">
  -<INPUT TYPE="submit" VALUE="Click here to edit">
  -<INPUT NAME="pr" TYPE="hidden" VALUE="$pr">
  -</FORM>
  +<TABLE>
  + <TR ALIGN="LEFT" VALIGN="MIDDLE">
  +  <TD>
  +   <FORM ACTION="$SCRIPT_NAME/edit_pr">
  +    <INPUT TYPE="submit" VALUE=" Edit ">
  +    <INPUT NAME="pr" TYPE="hidden" VALUE="$pr">
  +   </FORM>
  +  </TD>
  +  <TD><STRONG>Edit this problem report</STRONG>
  +  </TD>
  + </TR>
  + <TR ALIGN="LEFT" VALIGN="MIDDLE">
  +  <TD>
  +   <FORM METHOD="POST" ACTION="$SCRIPT_NAME/handle_edit_pr/$pr&$fieldvalues{'State'}&$timestamp">
  +    <INPUT TYPE="submit" VALUE="Close">
  +
  +    <INPUT TYPE="hidden" NAME="Editor" VALUE="$ENV{'REMOTE_USER'}">
  +    <INPUT TYPE="hidden" NAME="Synopsis" VALUE="">
  +    <INPUT TYPE="hidden" NAME="Originator" VALUE="$fieldvalues{'Originator'}">
  +    <INPUT TYPE="hidden" NAME="Class" VALUE="duplicate">
  +    <INPUT TYPE="hidden" NAME="Release" VALUE="$fieldvalues{'Release'}">
  +    <INPUT TYPE="hidden" NAME="Severity" VALUE="$fieldvalues{'Severity'}">
  +    <INPUT TYPE="hidden" NAME="State" VALUE="closed">
  +    <INPUT TYPE="hidden" NAME="StateReason" VALUE="[This is a standard response.]\nThis
issue has been reported before;\nplease search the FAQ and the bug database.\nThanks for using
Apache!">
  +    <INPUT TYPE="hidden" NAME="Category" VALUE="$fieldvalues{'Category'}">
  +    <INPUT TYPE="hidden" NAME="Responsible" VALUE="$fieldvalues{'Responsible'}">
  +    <INPUT TYPE="hidden" NAME="ResponsibleReason" VALUE="">
  +   </FORM>
  +  </TD>
  +  <TD><STRONG>Close as being a duplicate report.  (Refers submitter to bugdb
  +   and the FAQ.)</STRONG>
  + </TR>
  + <TR ALIGN="LEFT" VALIGN="MIDDLE">
  +  <TD>
  +   <FORM METHOD="POST" ACTION="$SCRIPT_NAME/handle_edit_pr/$pr&$fieldvalues{'State'}&$timestamp">
  +    <INPUT TYPE="submit" VALUE="Close">
  +
  +    <INPUT TYPE="hidden" NAME="Editor" VALUE="$ENV{'REMOTE_USER'}">
  +    <INPUT TYPE="hidden" NAME="Synopsis" VALUE="">
  +    <INPUT TYPE="hidden" NAME="Originator" VALUE="$fieldvalues{'Originator'}">
  +    <INPUT TYPE="hidden" NAME="Class" VALUE="mistaken">
  +    <INPUT TYPE="hidden" NAME="Release" VALUE="$fieldvalues{'Release'}">
  +    <INPUT TYPE="hidden" NAME="Severity" VALUE="non-critical">
  +    <INPUT TYPE="hidden" NAME="State" VALUE="closed">
  +    <INPUT TYPE="hidden" NAME="StateReason" VALUE="[This is a standard response.]\nThis
is a CGI programming or basic configuration issue.\nAs mentioned on the main bug database
page, we must refer\nall such basic or non-Apache-related questions to the\ncomp.infosystems.www.servers.unix
and related newsgroups.\nPlease ask your question there.\nPlease also search the FAQ and the
bug database.\nThanks for using Apache!">
  +    <INPUT TYPE="hidden" NAME="Category" VALUE="$fieldvalues{'Category'}">
  +    <INPUT TYPE="hidden" NAME="Responsible" VALUE="$fieldvalues{'Responsible'}">
  +    <INPUT TYPE="hidden" NAME="ResponsibleReason" VALUE="">
  +   </FORM>
  +  </TD>
  +  <TD><STRONG>Close as concerning CGI, basic configuration, or something else
  +   with which we say we don't provide assistance.  (Refers submitter to
  +   newsgroups and FAQ.)</STRONG>
  +  </TD>
  + </TR>
  +</TABLE>
   EOM
           }
   	print "<H2>Full text of PR number $pr:</H2>\n<pre>\n";
  
  
  

Mime
View raw message