Update of /cvsroot/fink/web/pdb
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8483

Modified Files:
        package.php releases.inc 
Log Message:
don't show 10.5-x86_64 by default, set hidden rows as background color red

Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- package.php 7 Sep 2009 04:12:00 -0000       1.69
+++ package.php 8 Sep 2009 03:48:33 -0000       1.70
@@ -208,7 +208,11 @@
 
                if ($last_dist_name != $dist_name) {
                        $color_count++;
-                       $row_color='bgcolor="#' . 
dechex($colors[$color_count][0]) . dechex($colors[$color_count][1]) . 
dechex($colors[$color_count][2]) . '"';
+                       if ($dist->isVisible()) {
+                               $row_color='bgcolor="#' . 
dechex($colors[$color_count][0]) . dechex($colors[$color_count][1]) . 
dechex($colors[$color_count][2]) . '"';
+                       } else {
+                               $row_color='bgcolor="#ddbdbd"';
+                       }
                }
 
                if (!$showall && !$dist->isVisible())

Index: releases.inc
===================================================================
RCS file: /cvsroot/fink/web/pdb/releases.inc,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- releases.inc        6 Sep 2009 17:12:21 -0000       1.37
+++ releases.inc        8 Sep 2009 03:48:33 -0000       1.38
@@ -41,9 +41,9 @@
        new Release($distributions["10.5-i386"],            "bindist",  
"0.9.0",   1, true),
        new Release($distributions["10.5-i386"],            "stable",   
"current", 2, true),
        new Release($distributions["10.5-i386"],            "unstable", 
"current", 3, true),
-#      new Release($distributions["10.5-x86_64"],          "bindist",  
"0.9.0",   1, true),
-       new Release($distributions["10.5-x86_64"],          "stable",   
"current", 2, true),
-       new Release($distributions["10.5-x86_64"],          "unstable", 
"current", 3, true),
+#      new Release($distributions["10.5-x86_64"],          "bindist",  
"0.9.0",   1, false),
+       new Release($distributions["10.5-x86_64"],          "stable",   
"current", 2, false),
+       new Release($distributions["10.5-x86_64"],          "unstable", 
"current", 3, false),
 #      new Release($distributions["10.6-i386"],            "bindist",  
"0.10.0",  1, true),
        new Release($distributions["10.6-i386"],            "stable",   
"current", 2, true),
        new Release($distributions["10.6-i386"],            "unstable", 
"current", 3, true),


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to