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

Modified Files:
        package.php 
Log Message:
Move it_start/it__item/it_end into package.php, delete it_start2/it_item2

Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- package.php 15 Jun 2011 08:05:38 -0000      1.80
+++ package.php 27 Oct 2011 16:52:24 -0000      1.81
@@ -110,6 +110,35 @@
 <h1>Package <? print $pobj['name'] . '-' . $fullversion ?></h1>
 <?
 
+// Functions Used in PDB
+        
+       function it_start() {
+               global $it_flag;
+
+               $it_flag = 0;
+               echo '<table cellspacing="0">';
+       }
+       
+       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";
+               } else {
+                       print '<tr valign="top"><td 
colspan="3">'.$item.'</td></tr>'."\n";
+               }
+       }
+       
+       function it_end() {
+               echo '</table>';
+       }
+
        function avail_td($text='', $extras='', $extra_div_style='') {
                print '<td align="center" valign="top" ' . $extras . '>';
                print '<div style="white-space:nowrap; ' . $extra_div_style . ' 
">' . $text . '</div>';


------------------------------------------------------------------------------
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