mirror of https://github.com/BOINC/boinc.git
32 lines
598 B
PHP
32 lines
598 B
PHP
<?php
|
|
|
|
require_once("../inc/db.inc");
|
|
require_once("../inc/util.inc");
|
|
|
|
db_init();
|
|
|
|
$user = get_logged_in_user(true);
|
|
|
|
page_head("Team management");
|
|
$team = lookup_team($user->teamid);
|
|
|
|
if (!$team) {
|
|
echo "no team";
|
|
exit();
|
|
}
|
|
if ($team->userid != $user->id) {
|
|
echo "Not founder";
|
|
exit();
|
|
}
|
|
|
|
echo "
|
|
<ul>
|
|
<li><a href=team_edit_form.php?teamid=$team->id>Edit team info</a>
|
|
<li><a href=team_remove_inactive_form.php?teamid=$team->id>Remove inactive members</a>
|
|
<li><a href=team_email_list.php?teamid=$team->id>View team email addresses</a>
|
|
</ul>
|
|
";
|
|
|
|
page_tail();
|
|
?>
|