5 * Copyright 2004, Tim Perdue -GForge LLC
6 * Copyright 2004-2009, Roland Mas
7 * Copyright 2012, Franck Villaume - TrivialDev
8 * http://fusionforge.org
10 * This file is part of FusionForge. FusionForge is free software;
11 * you can redistribute it and/or modify it under the terms of the
12 * GNU General Public License as published by the Free Software
13 * Foundation; either version 2 of the Licence, or (at your option)
16 * FusionForge 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 along
22 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 require_once('../env.inc.php');
27 require_once $gfcommon.'include/pre.php';
28 require_once $gfwww.'scm/include/scm_utils.php';
30 $group_id = getIntFromRequest("group_id");
31 scm_header(array('title'=>_('SCM Repository'),'group'=>$group_id));
33 $repo_name = getStringFromRequest("repo_name", "none");
34 $user_id = getIntFromRequest("user_id");
36 $hook_params = array();
37 $hook_params['group_id'] = $group_id;
38 $hook_params['repo_name'] = $repo_name;
39 $hook_params['user_id'] = $user_id;
40 plugin_hook ("scm_browser_page", $hook_params);