~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to html/user/team.php

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
page_head("Teams");
24
24
 
25
 
echo "<p>".PROJECT." participants may form <b>teams</b>.
26
 
    <p>
27
 
    You may belong to only one team.
28
 
    You can join or quit a team at any time.
29
 
    <p>
30
 
    Each team has a <b>founder</b>, who may
 
25
echo "<p>".tra("%1 participants may form %2teams%3", PROJECT, "<b>", "</b>") ."
 
26
    <p>
 
27
    ". tra("You may belong to only one team. You can join or quit a team at any time."). "
 
28
    <p>" .
 
29
    tra("Each team has a %1founder%2 who may:", "<b>", "</b>") . "
31
30
    <ul>
32
 
    <li> access team members' email addresses
33
 
    <li> edit the team's name and description
34
 
    <li> remove members from the team
35
 
    <li> disband a team if it has no members
 
31
    <li> " . tra("access team members' email addresses") . "
 
32
    <li> " . tra("edit the team's name and description") . "
 
33
    <li> " . tra("remove members from the team") . "
 
34
    <li> " . tra("disband a team if it has no members") . "
36
35
    </ul>
37
 
    <p>
38
 
    To join a team, visit its team page and click <b>Join this team</b>.
39
 
    <h3>Find a team</h3>
 
36
    <p>" .
 
37
    tra("To join a team, visit its team page and click %1Join this team%2.", "<b>", "</b>") . "
 
38
    <h3>" . tra("Find a team") . "</h3>
40
39
";
41
40
team_search_form(null);
42
41
echo "
43
42
 
44
 
    <h3>Top teams</h3>
 
43
    <h3>" . tra("Top teams") . "</h3>
45
44
    <ul>
46
 
    <li> <a href=top_teams.php>All teams</a>
 
45
    <li> <a href=\"top_teams.php\">" . tra("All teams") . "</a>
47
46
";
48
47
 
49
48
for ($i=1; $i<8; $i++) {
50
 
    echo "<li> <a href=\"top_teams.php?type=$i\">".team_type_name($i)." teams</a>
 
49
    echo "<li> <a href=\"top_teams.php?type=".$i."\">".tra("%1 teams", team_type_name($i))."</a>
51
50
    ";
52
51
}
53
52
 
54
53
echo "
55
54
    </ul>
56
 
    <h3>Create a new team</h3>
57
 
    If you can't find a team that's right for you, you can
58
 
    <a href=team_create_form.php>create a team</a>.
59
 
";
 
55
    <h3>" . tra("Create a new team") . "</h3>
 
56
    " . 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>");
60
57
page_tail();
61
58
 
62
59
?>