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

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Feb 10 21:12:37 CET 2010


Author: lolando
Date: 2010-02-10 21:12:37 +0100 (Wed, 10 Feb 2010)
New Revision: 8804

Modified:
   trunk/gforge/www/project/admin/users.php
Log:
PHP notices

Modified: trunk/gforge/www/project/admin/users.php
===================================================================
--- trunk/gforge/www/project/admin/users.php	2010-02-10 20:06:31 UTC (rev 8803)
+++ trunk/gforge/www/project/admin/users.php	2010-02-10 20:12:37 UTC (rev 8804)
@@ -225,7 +225,7 @@
 			action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id; ?>"
 			method="post">
 		<p><input type="hidden" name="submit" value="y" /> <input type="text"
-			name="form_unix_name" size="10" value="" /> <?php echo role_box($group_id,'role_id',$row_memb['role_id']); ?>
+			name="form_unix_name" size="10" value="" /> <?php echo role_box($group_id,'role_id'); ?>
 		<input type="submit" name="adduser"
 			value="<?php echo _("Add User") ?>" />
 		</p>
@@ -290,14 +290,9 @@
 			  <a href="/users/'.$row_memb['user_name'].'">'.$row_memb['realname'].'</a>
 			</td>
 			<td style="white-space: nowrap; text-align: right;">';
-		if (! $row_memb['is_external']) {
 			echo role_box($group_id,'role_id',$row_memb['role_id']);
-		}
-		else {
-			echo external_role_box($group_id,'role_id',$row_memb['role_id']);
-		}
-		echo '<input type="submit" name="updateuser" value="'._("Update").'" />';
-		echo '<input type="submit" name="rmuser" value="'._("Remove").'" />
+			echo '<input type="submit" name="updateuser" value="'._("Update").'" />';
+			echo '<input type="submit" name="rmuser" value="'._("Remove").'" />
                         </td>
 			</tr>
 		</table>




More information about the Fusionforge-commits mailing list