Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20300

Modified Files:
        package.php 
Log Message:
Clarify bindist columns.
Need to hide bindist rows after first if no pkg avail instead of "not present"
but we can wait to fix that until we get concurrent bindists...


Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- package.php 8 Jul 2005 19:00:06 -0000       1.36
+++ package.php 27 Oct 2005 15:26:41 -0000      1.37
@@ -70,9 +70,9 @@
  print '<tr bgcolor="#ffecbf">';
  print '<th width="100" align="center" valign="bottom" 
rowspan="3">System</th>';
  print '<th width="2"   rowspan="3" bgcolor="#ffffff">'.$shim.'</th>';
- print '<th width="150" align="center" colspan="2">Binary Distribution</th>';
+ print '<th width="150" align="center" valign="bottom" rowspan="3">Binary 
Distributions</th>';
  print '<th width="2"   rowspan="3" bgcolor="#ffffff">'.$shim.'</th>';
- print '<th width="202" align="center" colspan="3">CVS/rsync 
Distributions</th>';
+ print '<th width="202" align="center" colspan="3">CVS/rsync Source 
Distributions</th>';
  print "</tr>\n";
 
  print '<tr>';
@@ -81,8 +81,6 @@
  print "</tr>\n";
 
  print '<tr bgcolor="#ffecbf">';
- print '<th width="50"  align="center">dist</th>';
- print '<th width="100" align="center">version</th>';
  print '<th width="100" align="center">stable</th>';
  print '<th width="2"    bgcolor="#ffffff">'.$shim.'</th>';
  print '<th width="100" align="center">unstable</th>';
@@ -125,11 +123,10 @@
 
    // first bindist
     if(strlen($dists[0][0])) {
-      avail_td($dists[0][0],1,1);
       $vers = $rmap[$dists[0][0].'-stable'];
-      avail_td(strlen($vers) && $is_restrictive==0 ? $vers : '<i>not 
present</i>',1,1);
+      avail_td(strlen($vers) && $is_restrictive==0 ? $vers.' (bindist 
'.$dists[0][0].')' : '<i>not present</i>',1,1);
     } else {
-      avail_td('<i>none available</i>',$rowspan,2);
+      avail_td('<i>no bindists available</i>',$rowspan,2);
     }
 
     print '<th width="2" rowspan="'.$rowspan.'" 
bgcolor="#f0f0f0">'.$shim.'</th>';
@@ -158,8 +155,8 @@
     for( $bindistrow=1; $bindistrow<sizeof($dists[0]); $bindistrow++ ) {
       print '<th height="2" colspan="2" bgcolor="#f0f0f0">'.$shim.'</th>';
       print "<tr $row_color>";
-      avail_td($dists[0][$bindistrow],1,1);
-      avail_td($rmap[$dists[0][$bindistrow].'-stable'],1,1);
+      $vers = $rmap[$dists[0][$bindistrow].'-stable'];
+      avail_td(strlen($vers) && $is_restrictive==0 ? $vers.' (bindist 
'.$dists[0][$bindistrow].')' : '<i>not present</i>',1,1);
       print "</tr>\n";
     }
 



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to