gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/tracker index.php,1.19,1.20


From: cbayle
Subject: [Gforge-commits] gforge/www/tracker index.php,1.19,1.20
Date: Sat, 10 Jul 2004 13:17:15 -0500

Update of /cvsroot/gforge/gforge/www/tracker
In directory db.perdue.net:/tmp/cvs-serv3457/www/tracker

Modified Files:
        index.php 
Log Message:
Some cosmetic to have beautiful tables


Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/tracker/index.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- index.php   10 Jul 2004 16:23:40 -0000      1.19
+++ index.php   10 Jul 2004 18:17:13 -0000      1.20
@@ -350,16 +350,25 @@
                /*
                        Put the result set (list of trackers for this group) 
into a column with folders
                */
+               
$tablearr=array($Language->getText('group','short_tracker'),$Language->getText('general','open'),$Language->getText('general','total'),$Language->getText('tracker_admin_update_type','description'));
+               echo $HTML->listTableTop($tablearr);
 
                for ($j = 0; $j < count($at_arr); $j++) {
                        echo '
-                       <a href="/tracker/?atid='. $at_arr[$j]->getID() .
-                       '&group_id='.$group_id.'&func=browse">' .
-                       
html_image("ic/tracker20w.png","20","20",array("border"=>"0")) . ' &nbsp;'.
-                       $at_arr[$j]->getName() .'</a>
-                       ( <strong>'. (int) $at_arr[$j]->getOpenCount() 
.'</strong> '.$Language->getText('general','open').' / <strong>'. (int) 
$at_arr[$j]->getTotalCount() .'</strong> 
'.$Language->getText('general','total').' )<br />'.
-                       $at_arr[$j]->getDescription() .'<p>';
+                       <tr '. $HTML->boxGetAltRowStyle($j) . '>
+                               <td><a 
href="/tracker/?atid='.$at_arr[$j]->getID().'&group_id='.$group_id.'&func=browse">'.
+                                       
html_image("ic/tracker20w.png","20","20",array("border"=>"0")).' &nbsp;'.
+                                       $at_arr[$j]->getName() .'</a>
+                               </td>
+                               <td align="center">'. (int) 
$at_arr[$j]->getOpenCount() . '
+                               </td>
+                               <td align="center">'. (int) 
$at_arr[$j]->getTotalCount() .'
+                               </td>
+                               <td>' .  $at_arr[$j]->getDescription() .'
+                               </td>
+                       </tr>';
                }
+               echo $HTML->listTableBottom();
        }
 
        echo site_project_footer(array());





reply via email to

[Prev in Thread] Current Thread [Next in Thread]