[Fusionforge-commits] r10575 - trunk/src/common/widget

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Sep 20 22:52:37 CEST 2010


Author: aljeux
Date: 2010-09-20 22:52:37 +0200 (Mon, 20 Sep 2010)
New Revision: 10575

Modified:
   trunk/src/common/widget/Widget_ProjectMembers.class.php
Log:
Use util_display_user when possible to display a user.

Modified: trunk/src/common/widget/Widget_ProjectMembers.class.php
===================================================================
--- trunk/src/common/widget/Widget_ProjectMembers.class.php	2010-09-20 20:52:32 UTC (rev 10574)
+++ trunk/src/common/widget/Widget_ProjectMembers.class.php	2010-09-20 20:52:37 UTC (rev 10575)
@@ -68,7 +68,7 @@
 				echo '<div typeof="sioc:UserAccount" about="'.
 					$developer_url.
 					'" xmlns:sioc="http://rdfs.org/sioc/ns#">'."\n";
-				echo util_make_link_u ($row_admin['user_name'],$row_admin['user_id'],$row_admin['realname']) ."<br />\n";
+				echo util_display_user($row_admin['user_name'],$row_admin['user_id'],$row_admin['realname'])."\n";
 				echo "</div>\n"; // /sioc:UserAccount
 				echo "</div>\n"; // /foaf:holdsAccount
 				echo "</div>\n"; // /foaf:Person
@@ -81,11 +81,11 @@
 
 		$members = $project->getUsers();
 		echo '<p><span rel="sioc:has_usergroup" xmlns:sioc="http://rdfs.org/sioc/ns#">';
-		echo '<div about="members/" typeof="sioc:UserGroup">';
+		echo '<span about="members/" typeof="sioc:UserGroup">';
 		echo '<span rel="http://www.w3.org/2002/07/owl#sameAs">';
 		echo util_make_link ('/project/memberlist.php?group_id='.$group_id,sprintf(_('View the %1$d Member(s)'),count($members)));
 		echo '</span>';
-		echo '</div>';
+		echo '</span>';
 		echo '</span></p>';
 		// end of project usergroup description
 




More information about the Fusionforge-commits mailing list