Diff for /cdn/www/bug.html between versions 1.37 and 1.46

version 1.37, 2003/03/05 13:43:41 version 1.46, 2003/03/05 14:14:34
Line 7 Line 7
 </li>  </li>
 <li>View <a href="http://mozdev.org/bugs/buglist.cgi?email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=cdn&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;order=Bug+Number">all bugs</a>   <li>View <a href="http://mozdev.org/bugs/buglist.cgi?email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=cdn&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;order=Bug+Number">all bugs</a> 
 <li>See all <a href="http://mozdev.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=cdn&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;order=Bug+Number">open bugs</a></li>  <li>See all <a href="http://mozdev.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=cdn&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;order=Bug+Number">open bugs</a></li>
<li>Search by Bug Number<br><br><li>Search by Bug Number<br>
<form action="http://mozdev.org/bugs/show_bug.cgi" method="get"><input type="submit" value="Find"><form action="http://mozdev.org/bugs/show_bug.cgi" method="get"><p><input type="submit" value="Find">
<input size="6" name="id"></form><input size="6" name="id"></p></form>
 </li>  </li>
 </ul><?php $doNotCapitalise = 1; // $project='mozdev';  </ul><?php $doNotCapitalise = 1; // $project='mozdev';
   
////show_source(BUGS);
show_source(BUGS); 
   
$project = 'optimoz'; //$project = 'optimoz'; 
   
////$project = 'www';
$hide_Latest_bugs_filed = 1;
 //$hide_Latest_bugs_filed = 1;
 //$hiding_BZ_h4 = 1;  //$hiding_BZ_h4 = 1;
 //$bug_component = array('gesture', 'radial');  //$bug_component = array('gesture', 'radial');
 //$comp_desc = array('Mouse Gestures', 'Radial Context');  //$comp_desc = array('Mouse Gestures', 'Radial Context');
Line 51  $hide_Latest_bugs_filed = 1; Line 51  $hide_Latest_bugs_filed = 1;
   $res            = "resolution";    $res            = "resolution";
   $table          = "bugs";    $table          = "bugs";
   $target         = "product";    $target         = "product";
     $stat           = "bug_status";
   
   if (!isset($amount))    if (!isset($amount))
     $amount       = 10;      $amount       = 10;
Line 66  $hide_Latest_bugs_filed = 1; Line 67  $hide_Latest_bugs_filed = 1;
   
  for ($j=0; $j < $k; ++$j)   for ($j=0; $j < $k; ++$j)
  {   {
  $query          = " SELECT $id, $desc, $component, $res  $query          = " SELECT $id, $desc, $component, $res, $stat
                       FROM $table                        FROM $table
                       WHERE $target='$product'                        WHERE $target='$product'
                       AND $component LIKE '%" . $bug_component[$j] . "%'                        AND $component LIKE '%" . $bug_component[$j] . "%'
Line 100  $hide_Latest_bugs_filed = 1; Line 101  $hide_Latest_bugs_filed = 1;
     $printstrike = false;      $printstrike = false;
     print "<tr>\n<td>\n";      print "<tr>\n<td>\n";
     $bug_id =  mysql_result($my_result, $i, $id);      $bug_id =  mysql_result($my_result, $i, $id);
       $status =  mysql_result($my_result, $i, $stat);
     $strike =  mysql_result($my_result, $i, $res);      $strike =  mysql_result($my_result, $i, $res);
    if ($strike == "FIXED" || $strike == "INVALID" || $strike=="DUPLICATE")    if ($status=="CLOSED" || $strike=="DUPLICATE" || $strike == "FIXED" || $strike == "INVALID")
       $printstrike = true;        $printstrike = true;
     if ($printstrike)      if ($printstrike)
      print "<strike>";      print '<span class="BZ-strike">';
     print "<a href=\"$bug_url$bug_id\">";      print "<a href=\"$bug_url$bug_id\">";
     print $bug_id;      print $bug_id;
     print "</a>";      print "</a>";
     if ($printstrike)      if ($printstrike)
      print "</strike>";      print "</span>";
     print "\n</td>\n<td>\n";      print "\n</td>\n<td>\n";
     print htmlspecialchars (  mysql_result($my_result, $i, $desc),ENT_QUOTES);      print htmlspecialchars (  mysql_result($my_result, $i, $desc),ENT_QUOTES);
     print "</td>\n</tr>\n";      print "</td>\n</tr>\n";
   }    }
   
     if ( ! $row )
       print "<tr><td></td><td></td></tr>\n";
   
   print "</tbody>\n";    print "</tbody>\n";
   print "</table>\n";    print "</table>\n";
  }   }

Removed from v.1.37  
changed lines
  Added in v.1.46


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>