5 * Copyright 2004 (c) GForge LLC
6 * Copyright 2006, Tim Perdue - gforge.org
7 * Copyright 2013, Franck Villaume - TrivialDev
9 * This file is part of FusionForge. FusionForge is free software;
10 * you can redistribute it and/or modify it under the terms of the
11 * GNU General Public License as published by the Free Software
12 * Foundation; either version 2 of the Licence, or (at your option)
15 * FusionForge is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License along
21 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 require_once '../env.inc.php';
26 require_once $gfcommon.'include/pre.php';
27 require_once $gfcommon.'reporting/report_utils.php';
28 require_once $gfcommon.'reporting/Report.class.php';
29 require_once $gfcommon.'reporting/ReportSetup.class.php';
31 session_require_global_perm ('forge_stats', 'read') ;
33 report_header('Main Page');
36 <h2><?php echo _('Users'); ?></h2>
38 <a href="useradded.php?SPAN=1"><?php echo _('Users Added (graph)'); ?></a><br />
39 <a href="usercum.php?SPAN=1"><?php echo _('Cumulative Users (graph)'); ?></a><br />
40 <?php echo _('User-specific reports: Tracker, Task Mgr, Forums, Doc Mgr, Downloads'); ?><br />
41 <a href="useract.php"><?php echo _('Activity (graph)'); ?></a></p>
42 <h2><?php echo _('Projects'); ?></h2>
44 <a href="groupadded.php?SPAN=1"><?php echo _('Projects Added (graph)'); ?></a><br />
45 <a href="groupcum.php?SPAN=1"><?php echo _('Cumulative Projects (graph)'); ?></a><br />
46 <?php echo _('Project-specific reports: Tracker, Task Mgr, Forums, Doc Mgr, Downloads'); ?><br />
47 <a href="projectact.php"><?php echo _('Activity (graph)'); ?></a></p>
48 <h2><?php echo _('Site-Wide'); ?></h2>
50 <?php echo _('Site-wide reports: Tracker, Task Mgr, Forums, Doc Mgr, Downloads'); ?><br />
51 <a href="toolspie.php"><?php echo _('Pie (graph)'); ?></a><br />
52 <a href="siteact.php"><?php echo _('Line (graph)'); ?></a></p>
53 <h2><?php echo _('Time-Tracking'); ?></h2>
55 <a href="usertime.php"><?php echo _('Individual User Time Report (graph)'); ?></a> <a href="usertime.php?typ=r">(<?php echo _('report'); ?>)</a><br />
56 <a href="projecttime.php"><?php echo _('Individual Project Time Report (graph)'); ?></a> <a href="projecttime.php?typ=r">(<?php echo _('report'); ?>)</a><br />
57 <a href="sitetime.php"><?php echo _('Site-Wide Time Report (graph)'); ?></a> <a href="sitetime.php?typ=r">(<?php echo _('report'); ?>)</a><br />
58 <a href="sitetimebar.php"><?php echo _('Site-Wide Total Hours Graph (graph)'); ?></a> <a href="sitetimebar.php?typ=r">(<?php echo _('report'); ?>)</a><br />
59 <a href="usersummary.php"><?php echo _('Site-Wide Task & Hours (report)'); ?></a></p>
61 <?php if (forge_check_global_perm ('forge_stats', 'admin')) { ?>
62 <h2><?php echo _('Administrative'); ?></h2>
64 <a href="rebuild.php"><?php echo _('Initialize / Rebuild Reporting Tables'); ?></a><br />
65 <a href="timecategory.php"><?php echo _('Manage Time Tracker Categories'); ?></a></p>
69 plugin_hook ("reporting_reference", array());