[Fusionforge-commits] r16542 - branches/Branch_5_1/src/www/softwaremap

Franck VILLAUME nerville at fusionforge.org
Tue Oct 16 14:15:50 CEST 2012


Author: nerville
Date: 2012-10-16 14:15:49 +0200 (Tue, 16 Oct 2012)
New Revision: 16542

Modified:
   branches/Branch_5_1/src/www/softwaremap/full_list.php
Log:
disable trove link if forge does not use trove

Modified: branches/Branch_5_1/src/www/softwaremap/full_list.php
===================================================================
--- branches/Branch_5_1/src/www/softwaremap/full_list.php	2012-10-16 11:41:23 UTC (rev 16541)
+++ branches/Branch_5_1/src/www/softwaremap/full_list.php	2012-10-16 12:15:49 UTC (rev 16542)
@@ -1,7 +1,8 @@
 <?php
-/*
+/**
  * Copyright (C) 2008-2009 Alcatel-Lucent
  * Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
+ * Copyright 2012, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -19,7 +20,7 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-/*
+/**
  * Standard Alcatel-Lucent disclaimer for contributing to open source
  *
  * "The Full List ("Contribution") has not been tested and/or
@@ -143,7 +144,9 @@
 		// extra description
 		print '</td></tr><tr valign="top"><td>';
 		// list all trove categories
-		print trove_getcatlisting($row_grp['group_id'],0,1,1);
+		if (forge_get_config('use_trove')) {
+			print trove_getcatlisting($row_grp['group_id'],0,1,1);
+		}
 		print '</td>';
 		print '<td valign="bottom" style="text-align:right;"><br />'._('Register Date:').' <strong>'.date(_('Y-m-d H:i'),$row_grp['register_time']).'</strong></td>';
 		print '</tr>';




More information about the Fusionforge-commits mailing list