[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/www/include project_home.php,1.32,1.33
From: |
tom |
Subject: |
[Gforge-commits] gforge/www/include project_home.php,1.32,1.33 |
Date: |
Wed, 21 Apr 2004 13:25:14 -0500 |
Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv1767/www/include
Modified Files:
project_home.php
Log Message:
Fixed a small plural/singular thing in the forums count on the project summary
page
Index: project_home.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/project_home.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- project_home.php 31 Mar 2004 16:57:32 -0000 1.32
+++ project_home.php 21 Apr 2004 18:25:11 -0000 1.33
@@ -268,7 +268,13 @@
print '<hr size="1" /><a href="/forum/?group_id='.$group_id.'">';
print
html_image('ic/forum20g.png','20','20',array('alt'=>$Language->getText('group','short_forum')));
print ' '.$Language->getText('group','long_forum').'</a>';
- print " (
".$Language->getText('project_home','forum_messages',array(project_get_public_forum_message_count($group_id),
project_get_public_forum_count($group_id) ))." ";
+ $forums_count = project_get_public_forum_count($group_id);
+ if ($forums_count > 1) {
+ $label = 'forum_messages';
+ } else {
+ $label = 'forum_messages_only_one_forum';
+ }
+ print " (
".$Language->getText('project_home',$label,array(project_get_public_forum_message_count($group_id),
$forums_count))." ";
print ")\n";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/www/include project_home.php,1.32,1.33,
tom <=