3 * GForge Developer's Page
5 * Copyright 1999-2001 (c) VA Linux Systems
9 * This file is part of GForge.
11 * GForge is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * GForge is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with GForge; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 Written by dtype Oct 1999
32 require_once('../env.inc.php');
33 require_once $gfwww.'include/pre.php';
35 $user_id = getStringFromRequest('user_id');
36 $form_dev = getStringFromRequest('form_dev');
42 if (isset ($sys_noforcetype) && $sys_noforcetype) {
44 exit_error("Missing User Argument","A user must be specified for this page.");
46 $user =& user_get_object($user_id);
47 if (!$user || !is_object($user) || $user->isError() || !$user->isActive()) {
48 exit_error(_('That user does not exist.'),_('Invalid User'));
50 include $gfwww.'include/user_home.php';
53 header("Location: ".util_make_url ('/users/'.user_getname($user_id).'/'));