Update of /cvsroot/fink/web/pdb
In directory vz-cvs-3.sog:/tmp/cvs-serv24060/pdb

Modified Files:
        package.php 
Log Message:
Simplify it_start/it_item logic (causes slight layout change)

Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- package.php 27 Oct 2011 16:52:24 -0000      1.81
+++ package.php 27 Oct 2011 17:00:19 -0000      1.82
@@ -113,20 +113,10 @@
 // Functions Used in PDB
         
        function it_start() {
-               global $it_flag;
-
-               $it_flag = 0;
-               echo '<table cellspacing="0">';
+               echo '<table cellspacing="0" style="border-spacing:8px">';
        }
        
        function it_item($title, $item) {
-               global $it_flag, $root;
-               
-               if ($it_flag) {
-                       print '<tr><td><img src="'.$root.'img/shim.gif" 
width="1" height="8" border="0" alt=""></td></tr>'."\n";
-               }
-               $it_flag = 1;
-               
                if ($title) {
                        print '<tr 
valign="top"><td>'.$title.'</td><td>&nbsp;&nbsp;&nbsp;</td><td>'.
                        $item.'</td></tr>'."\n";
@@ -293,8 +283,6 @@
        
        print "</table>\n";
 
-       print "<br>";
-
        it_start();
        
        if ($warning)


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to