[evolvis-commits] r10873: news item showing site news on right panel instead of project ?==?UTF-8?Q?news↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 17:57:13 CET 2011


Author: mirabilos
Date: 2011-02-24 17:57:12 +0100 (Thu, 24 Feb 2011)
New Revision: 10873

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog
   trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class
Log:
news item showing site news on right panel instead of project news


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog	2011-02-24 16:57:12 UTC (rev 10872)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog	2011-02-24 16:57:12 UTC (rev 10873)
@@ -1,3 +1,10 @@
+2005-04-28	Marcelo Mottalli <marcelo at gforgegroup.com>
+
+	* Bug fix: FRS / File deletion displayed an error when trying to delete a file
+	and not checking the "I'm sure" checkbox.
+	* Bug fix: When reading a news item, the site news were displayed on the
+	right panel instead of the project news.
+
 2005-04-27  Christian Bayle <bayle at debian.org>
 
 	* Applied [#1216] httpd.config tweaks and some HTML validation errors

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class	2011-02-24 16:57:12 UTC (rev 10872)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/forum/include/ForumHTML.class	2011-02-24 16:57:12 UTC (rev 10873)
@@ -46,6 +46,7 @@
 			$sql="SELECT submitted_by, post_date, group_id, forum_id, summary, details FROM news_bytes WHERE forum_id='$forum_id'";
 			$result=db_query($sql);
 
+			// checks which group the news item belongs to
 			$params['group']=db_result($result,0,'group_id');
 			$params['toptab']='news';
 			$HTML->header($params);
@@ -72,7 +73,7 @@
 			}
 			echo '</td><td valign="top" width="35%">';
 			echo $HTML->boxTop($Language->getText('forum_utils','latest'));
-			echo news_show_latest($sys_news_group,5,false);
+			echo news_show_latest($params['group'],5,false);
 			echo $HTML->boxBottom();
 			echo '</td></tr></table>';
 		} else {



More information about the evolvis-commits mailing list