2002-08-07 18:56:55 +00:00
|
|
|
<?php
|
2008-08-05 22:43:14 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
2014-04-18 06:31:51 +00:00
|
|
|
// Copyright (C) 2014 University of California
|
2008-08-05 22:43:14 +00:00
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
include_once("../inc/db.inc");
|
|
|
|
include_once("../inc/util.inc");
|
|
|
|
include_once("../inc/team.inc");
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2014-04-18 06:31:51 +00:00
|
|
|
if (DISABLE_TEAMS) error_page("Teams are disabled");
|
|
|
|
|
2011-02-09 22:11:34 +00:00
|
|
|
check_get_args(array());
|
|
|
|
|
2011-07-25 22:05:49 +00:00
|
|
|
page_head(tra("Teams"));
|
2002-11-11 19:40:22 +00:00
|
|
|
|
2010-11-03 21:48:39 +00:00
|
|
|
echo "<p>".tra("%1 participants may form %2teams%3.", PROJECT, "<b>", "</b>") ."
|
2003-03-21 04:38:55 +00:00
|
|
|
<p>
|
2008-12-13 18:13:54 +00:00
|
|
|
". tra("You may belong to only one team. You can join or quit a team at any time."). "
|
|
|
|
<p>" .
|
|
|
|
tra("Each team has a %1founder%2 who may:", "<b>", "</b>") . "
|
2003-03-21 04:38:55 +00:00
|
|
|
<ul>
|
2008-12-13 18:13:54 +00:00
|
|
|
<li> " . tra("access team members' email addresses") . "
|
|
|
|
<li> " . tra("edit the team's name and description") . "
|
2011-07-25 22:05:49 +00:00
|
|
|
<li> " . tra("add or remove team admins") . "
|
2008-12-13 18:13:54 +00:00
|
|
|
<li> " . tra("remove members from the team") . "
|
|
|
|
<li> " . tra("disband a team if it has no members") . "
|
2003-03-21 04:38:55 +00:00
|
|
|
</ul>
|
2008-12-13 18:13:54 +00:00
|
|
|
<p>" .
|
|
|
|
tra("To join a team, visit its team page and click %1Join this team%2.", "<b>", "</b>") . "
|
|
|
|
<h3>" . tra("Find a team") . "</h3>
|
2007-11-20 22:58:14 +00:00
|
|
|
";
|
|
|
|
team_search_form(null);
|
|
|
|
echo "
|
|
|
|
|
2008-12-13 18:13:54 +00:00
|
|
|
<h3>" . tra("Top teams") . "</h3>
|
2004-12-08 22:05:56 +00:00
|
|
|
<ul>
|
2008-12-13 18:13:54 +00:00
|
|
|
<li> <a href=\"top_teams.php\">" . tra("All teams") . "</a>
|
2004-12-08 22:05:56 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
for ($i=1; $i<8; $i++) {
|
2008-12-13 18:13:54 +00:00
|
|
|
echo "<li> <a href=\"top_teams.php?type=".$i."\">".tra("%1 teams", team_type_name($i))."</a>
|
2004-12-08 22:05:56 +00:00
|
|
|
";
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "
|
|
|
|
</ul>
|
2008-12-13 18:13:54 +00:00
|
|
|
<h3>" . tra("Create a new team") . "</h3>
|
|
|
|
" . tra("If you cannot find a team that is right for you, you can %1create a team%2.", "<a href=\"team_create_form.php\">","</a>");
|
2007-10-26 21:14:35 +00:00
|
|
|
page_tail();
|
2002-08-07 18:56:55 +00:00
|
|
|
|
|
|
|
?>
|