2002-08-07 18:56:55 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
require_once("../inc/team.inc");
|
2002-12-04 19:14:00 +00:00
|
|
|
|
2005-02-19 08:06:53 +00:00
|
|
|
db_init();
|
|
|
|
$user = get_logged_in_user();
|
2003-03-19 21:01:32 +00:00
|
|
|
|
2005-02-19 08:06:53 +00:00
|
|
|
$teamid get_int("teamid");
|
|
|
|
$team = lookup_team($teamid);
|
|
|
|
require_founder_login($user, $team);
|
|
|
|
|
|
|
|
$team_name = ereg_replace("\"", "'", $team->name);
|
|
|
|
$team_name_html = ereg_replace("\"", "'", $team->name_html);
|
|
|
|
$team_url = ereg_replace("\"", "'", $team->url);
|
|
|
|
$team_description = ereg_replace("\"", "'", $team->description);
|
|
|
|
$team_type = $team->type;
|
|
|
|
page_head("Edit $team_name");
|
|
|
|
team_edit_form($team, "Update team info", "team_edit_action.php");
|
|
|
|
page_tail();
|
2004-11-21 18:56:30 +00:00
|
|
|
|
2002-08-07 18:56:55 +00:00
|
|
|
?>
|