gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/www/top toplist.php,1.9,1.10


From: gsmet
Subject: [Gforge-commits] gforge/www/top toplist.php,1.9,1.10
Date: Fri, 08 Oct 2004 16:39:23 -0500

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

Modified Files:
        toplist.php 
Log Message:
fixed a lot of malformed strings
fixed missing $ in variable name
fixed some parse errors

Index: toplist.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/top/toplist.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- toplist.php 8 Oct 2004 20:37:26 -0000       1.9
+++ toplist.php 8 Oct 2004 21:39:20 -0000       1.10
@@ -31,16 +31,16 @@
 
 $stats = new Stats();
 
-if ($GLOBALS[type] == 'downloads_week') {
+if ($GLOBALS['type'] == 'downloads_week') {
        $title = $Language->getText('top_toplist','top_download_7_days');
        $column1 = $Language->getText('top_toplist','download');
 }
-else if ($GLOBALS[type] == 'pageviews_proj') {
+else if ($GLOBALS['type'] == 'pageviews_proj') {
        $res_top = $stats->getTopPageViews();
        $title = 
$Language->getText('top_toplist','top_weekly_pagesviews',array($GLOBALS['sys_default_domain'],$GLOBALS['sys_name']));
        $column1 = $Language->getText('top_toplist','pageviews');
 }
-else if ($GLOBALS[type] == 'forumposts_week') {
+else if ($GLOBALS['type'] == 'forumposts_week') {
        $res_top = $stats->getTopMessagesPosted();
        $title = $Language->getText('top_toplist','top_forum_post_count');
        $column1 = $Language->getText('top_toplist','posts');





reply via email to

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