- web: in team remove-user form, link names and show IDs

svn path=/trunk/boinc/; revision=15428
This commit is contained in:
David Anderson 2008-06-18 19:52:20 +00:00
parent 6c9b4626ae
commit 8611ca27aa
2 changed files with 9 additions and 3 deletions

View File

@ -4952,3 +4952,9 @@ Rom 18 June 2008
win_build/installerv2/redist/Windows/x64/
boinccas.dll
boinccas95.dll
David 18 June 2008
- web: in team remove-user form, link names and show IDs
html/user/
team_remove_inactive_form.php

View File

@ -11,7 +11,7 @@ $teamid = get_int("teamid");
$team = BoincTeam::lookup_id($teamid);
if (!$team) error_page("no such team");
require_admin($logged_in_user, $team);
page_head("Remove Members from $team->name");
page_head("Remove members from $team->name");
echo "
<form method=\"post\" action=\"team_remove_inactive_action.php\">
<input type=\"hidden\" name=\"id\" value=\"".$team->id."\">
@ -19,7 +19,7 @@ echo "
start_table();
echo "<tr>
<th>Remove?</th>
<th>Name</th>
<th>Name (ID)</th>
<th>Total credit</th>
<th>Recent average credit</th>
</tr>
@ -35,7 +35,7 @@ foreach($users as $user) {
echo "
<tr>
<td align=center><input type=checkbox name=remove_$ninactive_users value=$user->id>
<td>$user->name</td>
<td>".user_links($user)." ($user->id)</td>
<td>$user_total_credit</td>
<td>$user_expavg_credit</td>
</tr>