[Fusionforge-commits] r9466 - in trunk: gforge/plugins/extratabs/common plugins/coclico/mailman/include plugins/templates/helloworld/include

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Apr 13 16:43:10 CEST 2010


Author: cbayle
Date: 2010-04-13 16:43:10 +0200 (Tue, 13 Apr 2010)
New Revision: 9466

Modified:
   trunk/gforge/plugins/extratabs/common/ExtraTabsPlugin.class.php
   trunk/plugins/coclico/mailman/include/mailmanPlugin.class.php
   trunk/plugins/templates/helloworld/include/helloworldPlugin.class.php
Log:
Be consistent with code in gforge/www/project/admin/tools.php
use <p></p> instead of <br />


Modified: trunk/gforge/plugins/extratabs/common/ExtraTabsPlugin.class.php
===================================================================
--- trunk/gforge/plugins/extratabs/common/ExtraTabsPlugin.class.php	2010-04-12 16:31:44 UTC (rev 9465)
+++ trunk/gforge/plugins/extratabs/common/ExtraTabsPlugin.class.php	2010-04-13 14:43:10 UTC (rev 9466)
@@ -37,8 +37,8 @@
 		
 		if ($hookname == "project_admin_plugins") {
 			$group_id=$params['group_id'];
-			echo util_make_link ('/plugins/extratabs/index.php?group_id='.$group_id,
-					     _('Extra tabs')).'<br />';	       
+			echo '<p>'.util_make_link ('/plugins/extratabs/index.php?group_id='.$group_id,
+					     _('Extra tabs')).'</p>';	       
 		} elseif ($hookname == "groupmenu") {
 			$group_id=$params['group'];
 			$project = &group_get_object($group_id);

Modified: trunk/plugins/coclico/mailman/include/mailmanPlugin.class.php
===================================================================
--- trunk/plugins/coclico/mailman/include/mailmanPlugin.class.php	2010-04-12 16:31:44 UTC (rev 9465)
+++ trunk/plugins/coclico/mailman/include/mailmanPlugin.class.php	2010-04-13 14:43:10 UTC (rev 9466)
@@ -174,9 +174,8 @@
 			$group_id = $params['group_id'];
 			$group = &group_get_object($group_id);
 			if ( $group->usesPlugin ( $this->name ) ) {
-				echo util_make_link ("/plugins/projects_hierarchy/index.php?id=".$group->getID().'&type=admin&pluginname='.$this->name,
-									 _('View the mailman Administration')) ;
-				echo '</p>';
+				echo '<p>'.util_make_link ("/plugins/projects_hierarchy/index.php?id=".$group->getID().'&type=admin&pluginname='.$this->name,
+									 _('View the mailman Administration')).'</p>';
 			}
 		}												    
 		elseif ($hookname == "monitored_element") {

Modified: trunk/plugins/templates/helloworld/include/helloworldPlugin.class.php
===================================================================
--- trunk/plugins/templates/helloworld/include/helloworldPlugin.class.php	2010-04-12 16:31:44 UTC (rev 9465)
+++ trunk/plugins/templates/helloworld/include/helloworldPlugin.class.php	2010-04-13 14:43:10 UTC (rev 9466)
@@ -144,9 +144,8 @@
 			$group_id = $params['group_id'];
 			$group = &group_get_object($group_id);
 			if ( $group->usesPlugin ( $this->name ) ) {
-				echo util_make_link ("/plugins/helloworld/admin/index.php?id=".$group->getID().'&type=admin&pluginname='.$this->name,
-						     _('View the HelloWorld Administration')) ;
-				echo '</p>';
+				echo '<p>'.util_make_link ("/plugins/helloworld/admin/index.php?id=".$group->getID().'&type=admin&pluginname='.$this->name,
+						     _('HelloWorld Admin')).'</p>' ;
 			}
 		}												    
 		elseif ($hookname == "blahblahblah") {




More information about the Fusionforge-commits mailing list