5 * Copyright 1999-2001 (c) VA Linux Systems
6 * The rest Copyright 2002-2004 (c) GForge Team
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
26 require_once('../env.inc.php');
27 require_once $gfwww.'include/pre.php';
29 $trove_cat_id = getIntFromRequest('trove_cat_id');
31 $res_cat = db_query_params ('
34 WHERE trove_cat_id=$1',
35 array($trove_cat_id));
37 if (db_numrows($res_cat)<1) {
38 print _('No such trove category');
42 $row_cat = db_fetch_array($res_cat);
44 help_header("Trove Category - ".$row_cat['fullname']);
46 print '<table width="100%" cellpadding="0" cellspacing="0" border="0">'."\n";
47 print '<tr><td>'._('Full Category Name').':</td><td><strong>'.$row_cat['fullname']."</strong></td></tr>\n";
48 print '<tr><td>'._('Short Name').':</td><td><strong>'.$row_cat['shortname']."</strong></td></tr>\n";
50 print '<p>'._('Description').':<br /><em>'.$row_cat['description'].'</em>'."</p>\n";