name");
echo "
- id>Edit team info
Change team name, URL, description, type, or country
- id>Remove members
Remove inactive or unwanted members from this team
-
Member list:
id>HTML
| id>text
View member names and email addresses
- View change history:
id>HTML
| id&xml=1>XML
See when members joined or quit this team
";
if ($team->userid == $user->id) {
$tokens = url_tokens($user->authenticator);
if ($team->ping_user > 0) {
$user2 = BoincUser::lookup_id($team->ping_user);
$deadline = date_str(transfer_ok_time($team));
echo " -
id>Respond to foundership request. If you don't respond by $deadline, $user2->name may assume foundership of this team.
";
}
echo "
- id>Change founder
Transfer foundership to another member
- id>Add/remove Team Admins
Give selected team members Team Admin privileges
- id&action=delete&$tokens>Remove team
Allowed only if team has no members
";
}
echo "
-
To have this team created on all BOINC projects
(current and future) you can make it into a
BOINC-wide team.
-
Team admins are encouraged to join and participate in the Google
boinc-team-founders group.
-
Other resources for BOINC team admins
are available from a third-party site,
www.boincteams.com.
";
page_tail();
}
$user = get_logged_in_user(true);
$teamid = get_int('teamid');
$team = BoincTeam::lookup_id($teamid);
if (!$team) error_page("no such team");
$action = get_str('action', true);
if ($action == 'delete') {
require_founder_login($user, $team);
if (team_count_members($team->id) > 0) {
error_page("Can't delete non-empty team");
}
check_tokens($user->authenticator);
$team->delete();
page_head("Team $team->name deleted");
page_tail();
} else {
require_admin($user, $team);
show_admin_page($user, $team);
}
?>