[Fusionforge-commits] r16395 - trunk/src/www/news/admin

Franck VILLAUME nerville at fusionforge.org
Sun Sep 30 17:54:52 CEST 2012


Author: nerville
Date: 2012-09-30 17:54:51 +0200 (Sun, 30 Sep 2012)
New Revision: 16395

Modified:
   trunk/src/www/news/admin/news_admin_utils.php
Log:
make selectable when needed

Modified: trunk/src/www/news/admin/news_admin_utils.php
===================================================================
--- trunk/src/www/news/admin/news_admin_utils.php	2012-09-30 15:18:28 UTC (rev 16394)
+++ trunk/src/www/news/admin/news_admin_utils.php	2012-09-30 15:54:51 UTC (rev 16395)
@@ -5,6 +5,7 @@
  * Copyright 1999-2001 (c) VA Linux Systems
  * Copyright 2002-2004 (c) GForge Team
  * Copyright (C) 2012 Alain Peyrat - Alcatel-Lucent
+ * Copyright 2012, Franck Villaume - TrivialDev
  * http://fusionforge.org/
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -107,7 +108,7 @@
        		echo '<h2>'.sprintf(_('These items were rejected this past week or were not intended for front page (total: %1$s)'), $rows).'</h2>';
        		echo $GLOBALS['HTML']->listTableTop($title_arr);
        		for ($i=0; $i<$rows; $i++) {
-       			show_news_item($items[$i],$i,false,true);
+       			show_news_item($items[$i],$i,false,false);
        		}
        		echo $GLOBALS['HTML']->listTableBottom();
        	}
@@ -131,7 +132,7 @@
        		echo '<h2>'.sprintf(_('These items were approved this past week (total: %1$s)'), $rows).'</h2>';
        		echo $GLOBALS['HTML']->listTableTop($title_arr);
        		for ($i=0; $i<$rows; $i++) {
-       			show_news_item($items[$i],$i,false,true);
+       			show_news_item($items[$i],$i,false,false);
        		}
        		echo $GLOBALS['HTML']->listTableBottom();
        	}




More information about the Fusionforge-commits mailing list