coar        98/02/11 07:18:35

  Modified:    .        bugdb.cgi
  Log:
        Add a "is this still alive" button, correct and simplify the
        handling of canned text, and make the display of same 'small'
        to take up less space at the top of the edit form.
  
  Revision  Changes    Path
  1.25      +37 -4     apache-site/bugdb.cgi
  
  Index: bugdb.cgi
  ===================================================================
  RCS file: /export/home/cvs/apache-site/bugdb.cgi,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- bugdb.cgi 1998/01/20 15:06:09     1.24
  +++ bugdb.cgi 1998/02/11 15:18:34     1.25
  @@ -28,6 +28,13 @@
   # appropriate message key (e.g., "_C_Stale").  handle_edit_pr senses
   # this and substitutes the actual text.
   #
  +$CANNED_TEXT{"Quiet"} =
  +    "[This is a standard response.]\n" .
  +    "This Apache problem report has not been updated recently.\n" .
  +    "Please reply to this message if you have any additional\n" .
  +    "information about this issue, or if you have answers to\n" .
  +    "any questions that have been posed to you.  If we don't\n" .
  +    "hear from you, this report will be closed.";
   $CANNED_TEXT{"Stale"} =
       "[This is a standard response.]\n" .
       "No response from submitter, assuming issue has been resolved.";
  @@ -1477,7 +1484,7 @@
        if ($ENV{'REMOTE_USER'}) {
            local ($timestamp) = &timestamp($fullpr);
            print <<EOM;
  -<TABLE>
  +<TABLE CELLPADDING=0 CELLSPACING=0>
    <TR ALIGN="LEFT" VALIGN="TOP">
     <TD>
      <FORM ACTION="$SCRIPT_NAME/edit_pr">
  @@ -1491,6 +1498,32 @@
    <TR ALIGN="LEFT" VALIGN="TOP">
     <TD>
      <FORM METHOD="POST" 
ACTION="$SCRIPT_NAME/handle_edit_pr/$pr&$fieldvalues{'State'}&$timestamp">
  +    <INPUT TYPE="submit" VALUE="Query">
  +
  +    <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="$fieldvalues{'Class'}">
  +    <INPUT TYPE="hidden" NAME="Release" VALUE="$fieldvalues{'Release'}">
  +    <INPUT TYPE="hidden" NAME="Severity" VALUE="$fieldvalues{'Severity'}">
  +    <INPUT TYPE="hidden" NAME="State" VALUE="feedback">
  +    <INPUT TYPE="hidden" NAME="StateReason" VALUE="_C_Quiet">
  +    <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>Outstanding request(s) for information</STRONG>
  +  </TD>
  +  <TD>
  +   <PRE>
  +<SMALL>$CANNED_TEXT{'Quiet'}</SMALL>
  +   </PRE>
  +  </TD>
  + </TR>
  + <TR ALIGN="LEFT" VALIGN="TOP">
  +  <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'}">
  @@ -1510,7 +1543,7 @@
     </TD>
     <TD>
      <PRE>
  -$CANNED_TEXT{'Stale'}
  +<SMALL>$CANNED_TEXT{'Stale'}</SMALL>
      </PRE>
     </TD>
    </TR>
  @@ -1536,7 +1569,7 @@
     </TD>
     <TD>
      <PRE>
  -$CANNED_TEXT{'Duplicate'}
  +<SMALL>$CANNED_TEXT{'Duplicate'}</SMALL>
      </PRE>
     </TD>
    </TR>
  @@ -1562,7 +1595,7 @@
     </TD>
     <TD>
      <PRE>
  -$CANNED_TEXT{'Inappropriate'}
  +<SMALL>$CANNED_TEXT{'Inappropriate'}</SMALL>
      </PRE>
     </TD>
    </TR>
  
  
  

Reply via email to