name"); if ($team->ping_user != 0) { if ($team->ping_user < 0) { $ping_user = BoincUser::lookup_id(-$team->ping_user); $x = date_str($team->ping_time); echo "

Team member ".user_links($ping_user)." requested this team's foundership on $x, but left the team, thus canceling the request. "; $team->update("ping_user=0, ping_time=0"); } else { $ping_user = BoincUser::lookup_id($team->ping_user); $x = date_str(transfer_ok_time($team)); echo "

Team member ".user_links($ping_user)." has requested this team's foundership. This may be because you left the team or haven't had contact with the team for a long time. "; echo "

id."\"> To decline the request,

If you don't decline the request by $x, $ping_user->name will have the option of assuming team foundership.

To accept the request, assign foundership to $ping_user->name using the form below.


"; } } echo " To assign foundership of this team to another member, check the box next to member name and click Change founder below.

id> "; echo form_tokens($user->authenticator); start_table(); echo " New founder? Name Total credit Recent average credit "; $users = BoincUser::enum("teamid=$team->id"); $navailable_users = 0; foreach ($users as $user) { if ($user->id != $team->userid) { //don't show current founder $user_total_credit = format_credit($user->total_credit); $user_expavg_credit = format_credit($user->expavg_credit); $selected = ($user->id == $team->ping_user)?"selected":""; echo ' '.$user->name.' '.$user_total_credit.' '.$user_expavg_credit.' '; $navailable_users++; } } if ($navailable_users > 0) { echo ""; end_table(); echo ""; } else { echo ' There are no users to transfer team to. '; end_table(); } echo "
"; page_tail(); $cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit ?>