[Fusionforge-commits] r7036 - trunk/gforge/www/project/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Feb 23 22:01:41 CET 2009


Author: aljeux
Date: 2009-02-23 22:01:41 +0100 (Mon, 23 Feb 2009)
New Revision: 7036

Modified:
   trunk/gforge/www/project/admin/index.php
Log:
hide the Trove edit link if sys_use_trove=false

This was the last place where Trove Categorization is visible
even if sys_use_trove=false

Modified: trunk/gforge/www/project/admin/index.php
===================================================================
--- trunk/gforge/www/project/admin/index.php	2009-02-23 20:56:33 UTC (rev 7035)
+++ trunk/gforge/www/project/admin/index.php	2009-02-23 21:01:41 UTC (rev 7036)
@@ -181,7 +181,7 @@
 <p><?php echo _('Homepage Link:&nbsp;') ?><strong><?php echo $group->getHomepage(); ?></strong></p>
 
 <?php
-	global $sys_use_shell;
+	global $sys_use_shell, $sys_use_trove;
 	if ($sys_use_shell) {
 ?> 
 <p><?php echo _('Group shell (SSH) server:&nbsp;') ?><strong><?php echo $group->getUnixName().'.'.$GLOBALS['sys_default_domain']; ?></strong></p>
@@ -196,9 +196,13 @@
 <?php	} ?>
 
 <hr />
+<?php	if($sys_use_trove) { ?>
 <p>
 <h4><?php echo _('Trove Categorization:&nbsp;') ?><?php echo util_make_link ('/project/admin/group_trove.php?group_id='. $group->getID(),'['._('Edit').']'); ?></h4>
 </p>
+        <?php } //end of use_trove condition
+?>
+
 <?php
 echo $HTML->boxMiddle(_('Tool Admin').'');
 




More information about the Fusionforge-commits mailing list