~ubuntu-branches/debian/sid/boinc/sid

« back to all changes in this revision

Viewing changes to html/user/team_manage.php

  • Committer: Package Import Robot
  • Author(s): Steffen Moeller
  • Date: 2011-08-08 01:36:51 UTC
  • mfrom: (6.1.11 experimental)
  • Revision ID: package-import@ubuntu.com-20110808013651-m1hs3cltiveuteyn
Tags: 6.13.1+dfsg-2
* Bringing notify patch to unstable.
* Adjusted build dependency to libjpeg-dev (Closes: #641093)
* Further improvements on stripchart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
require_once("../inc/util.inc");
21
21
require_once("../inc/team.inc");
22
22
 
 
23
check_get_args(array("teamid", "action", "tnow", "ttok"));
 
24
 
23
25
function show_admin_page($user, $team) {
24
26
    page_head(tra("Team administration for %1", $team->name));
25
27
    echo "
80
82
$user = get_logged_in_user(true);
81
83
$teamid = get_int('teamid');
82
84
$team = BoincTeam::lookup_id($teamid);
83
 
if (!$team) error_page(tra("no such team"));
 
85
if (!$team) error_page(tra("No such team"));
84
86
 
85
87
$action = get_str('action', true);
86
88
if ($action == 'delete') {