gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/www/top topusers.php, 1.5, 1.6 mostactive.php, 1


From: gsmet
Subject: [Gforge-commits] gforge/www/top topusers.php, 1.5, 1.6 mostactive.php, 1.9, 1.10
Date: Sat, 16 Oct 2004 12:34:11 -0500

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

Modified Files:
        topusers.php mostactive.php 
Log Message:
fixed a localization problem (wrong key) + add a percent in mostactive

Index: topusers.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/top/topusers.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- topusers.php        8 Oct 2004 20:37:26 -0000       1.5
+++ topusers.php        16 Oct 2004 17:34:09 -0000      1.6
@@ -59,12 +59,18 @@
 print '<h1>'.$Language->getText('top_topusers','title').'</h1>
 <br /><em>('.$Language->getText('top','updated_daily').')</em>
 
-<p><a 
href="/top/">['.$Language->getText('top','view_other_top_category').']</a>
+<p><a 
href="/top/">['.$Language->getText('top','view_other_top_category').']</a></p>';
 
-<p>';
-$arr=array($Language->getText('top','rank'),$Language->getText('top','user_name'),$Language->getText('top','real_name'),$Language->getText('top','rating'),
-                                       
$Language->getText('top','last_rank'),$Language->getText('top','change'));
-echo $HTML->listTableTop($arr);
+$tableHeaders = array(
+       $Language->getText('top_topusers','rank'),
+       $Language->getText('top_topusers','user_name'),
+       $Language->getText('top_topusers','real_name'),
+       $Language->getText('top_topusers','rating'),
+       $Language->getText('top_topusers','last_rank'),
+       $Language->getText('top_topusers','change')
+);
+
+echo $HTML->listTableTop($tableHeaders);
 
 while ($row_top = db_fetch_array($res_top)) {
        $i++;

Index: mostactive.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/top/mostactive.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mostactive.php      8 Oct 2004 20:37:26 -0000       1.9
+++ mostactive.php      16 Oct 2004 17:34:09 -0000      1.10
@@ -59,7 +59,7 @@
        print '<tr '. $HTML->boxGetAltRowStyle($i) .'><td>&nbsp;&nbsp;'.$i
                .'</td><td><a href="/projects/'. 
strtolower($row_top['unix_group_name']) .'/">'
                .$row_top['group_name']."</a>"
-               .'</td><td 
align="right">'.substr($row_top['percentile'],0,5).'</td></tr>';
+               .'</td><td 
align="right">'.substr($row_top['percentile'],0,5).'%</td></tr>';
 }
 
 if ($i<$rows) {





reply via email to

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