- web: if user tries to edit a BOINC-wide team,

warn them that changes will get overwritten.
    Fixes #758


svn path=/trunk/boinc/; revision=16244
This commit is contained in:
David Anderson 2008-10-21 20:33:16 +00:00
parent 7a3996aba0
commit 87ff7b07d2
2 changed files with 16 additions and 0 deletions

View File

@ -8499,3 +8499,10 @@ David 21 Oct 2008
profile_screen_action.php
project.sample/
project.inc
David 21 Oct 2008
- web: if user tries to edit a BOINC-wide team,
warn them that changes will get overwritten.
html/inc/
team.inc

View File

@ -387,6 +387,15 @@ function team_edit_form($team, $label, $url) {
if ($team) {
echo "<input type=hidden name=teamid value=$team->id>\n";
}
if ($team->seti_id) {
echo "<p><span class=error>WARNING: this is a BOINC-wide team.
If you make changes here, they will soon be overwritten.
Edit the
<a href=http://boinc.berkeley.edu/teams/>BOINC-wide team</a>
instead.</span>
<p>
";
}
echo '
<p>
'.tra('%1Privacy note%2: if you create a team, your project preferences (resource share, graphics preferences) will be visible to the public.', '<b>', '</b>').'