[Fusionforge-commits] r8631 - trunk/gforge/www/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Jan 5 18:20:19 CET 2010


Author: aljeux
Date: 2010-01-05 18:20:19 +0100 (Tue, 05 Jan 2010)
New Revision: 8631

Modified:
   trunk/gforge/www/include/user_home.php
Log:
Use projects instead of groups and other small changes in user_home

Modified: trunk/gforge/www/include/user_home.php
===================================================================
--- trunk/gforge/www/include/user_home.php	2010-01-05 17:20:13 UTC (rev 8630)
+++ trunk/gforge/www/include/user_home.php	2010-01-05 17:20:19 UTC (rev 8631)
@@ -19,14 +19,14 @@
 
 <table width="100%" cellpadding="2" cellspacing="2" border="0">
 <tr valign="top">
-	<td width="50%">
-		<?php echo $HTML->boxTop(_('Personal Information')); ?>
+<td>
+
+<?php echo $HTML->boxTop(_('Personal Information')); ?>
+</td></tr>
 <tr>
-	<td>
-		<?php echo _('User Id') ?>
-	</td>
-	<td>
-		<strong>
+  <td><?php echo _('User Id') ?></td>
+  <td>
+    <strong>
 <?php
 	if (session_loggedin() && user_ismember(1)) {
 		echo util_make_link ('/admin/useredit.php?user_id='.$user_id,$user_id);
@@ -151,9 +151,9 @@
 	<p/><?php echo _('This developer is not a member of any projects.') ?><p/>
 	<?php
 } else { // endif no groups
-	print "<p/>"._('This developer is a member of the following groups:')."<br />&nbsp;";
+	print "<p>"._('This developer is a member of the following projects:')."</p><ul>";
 	while ($row_cat = db_fetch_array($res_cat)) {
-			print ('<br />' . util_make_link_g ($row_cat['unix_group_name'],$row_cat['group_id'],$row_cat['group_name']).' ('.$row_cat['role_name'].')');
+		print ('<li>' . util_make_link_g ($row_cat['unix_group_name'],$row_cat['group_id'],$row_cat['group_name']).' ('.$row_cat['role_name'].')</li>');
 	}
 	print '</ul><p/>';
 } // end if groups
@@ -185,12 +185,12 @@
 			       util_make_url ("/account/"));
 
 } else if ($me && !$me->usesRatings()) { ?>
-<p/>
+<p>
 <em>
 		<?php printf (_('You opted-out from peer rating system, otherwise you would have a chance to rate the user. Refer to <a href="%1$s">your account maintenance page</a> for more information.'),
 			      util_make_url ("/account")); ?>
 </em>
-<p/>
+</p>
 <?php }
       } ?>
 	</td>




More information about the Fusionforge-commits mailing list