Diff for /cdn/www/bug.html between versions 1.35 and 1.41

version 1.35, 2003/03/05 11:04:14 version 1.41, 2003/03/05 13:57:37
Line 15 Line 15
   
 //show_source(BUGS);  //show_source(BUGS);
   
$project = 'optimoz'; //$project = 'optimoz'; 
   
////$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  $hiding_BZ_h4 = 1; Line 49  $hiding_BZ_h4 = 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  $hiding_BZ_h4 = 1; Line 65  $hiding_BZ_h4 = 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  $hiding_BZ_h4 = 1; Line 99  $hiding_BZ_h4 = 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 "<strike>";

Removed from v.1.35  
changed lines
  Added in v.1.41


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