Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs17:/tmp/cvs-serv2962/web/pdb

Modified Files:
      Tag: redesign_pdb
        package.php 
Log Message:
Change supported field in db to unsupported, to have the correct default
if field is unavailable


Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.43.2.30
retrieving revision 1.43.2.31
diff -u -d -r1.43.2.30 -r1.43.2.31
--- package.php 26 Sep 2007 16:52:50 -0000      1.43.2.30
+++ package.php 26 Sep 2007 17:12:44 -0000      1.43.2.31
@@ -236,13 +236,13 @@
    }
    // System
    print "<tr $row_color>";
-   if ($dist_row['supported']) {
-     avail_td(nl2br($dist_row['description']));
-   }
-   else {
+   if ($dist_row['unsupported']) {
      avail_td(nl2br($dist_row['description'] . ' *'), '', 'color:gray; ');
      $has_unsupported_dists = true;
    }
+   else {
+     avail_td(nl2br($dist_row['description']));
+   }
 
     // bindist
     if ($has_bindist) {


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to