5 * Copyright 2003, Tim Perdue - gforge.org
6 * Copyright 2004 (c) GForge LLC
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 <div class="info-box">
37 <h2><?php echo _('Users'); ?></h2>
39 <li><a href="useradded.php?SPAN=1"><?php echo _('Users Added (graph)'); ?></a></li>
40 <li><a href="usercum.php?SPAN=1"><?php echo _('Cumulative Users (graph)'); ?></a></li>
41 <li><a href="useract.php"><?php echo _('Activity (graph)'); ?></a></li>
45 <div class="info-box">
46 <h2><?php echo _('Projects'); ?></h2>
48 <li><a href="groupadded.php?SPAN=1"><?php echo _('Projects Added (graph)'); ?></a></li>
49 <li><a href="groupcum.php?SPAN=1"><?php echo _('Cumulative Projects (graph)'); ?></a></li>
53 <div class="info-box">
54 <h2><?php echo _('Project-specific reports: Tracker, Task Mgr, Forums, Doc Mgr, Downloads'); ?></h2>
56 <li><a href="projectact.php"><?php echo _('Activity (graph)'); ?></a></li>
60 <div class="info-box">
61 <h2><?php echo _('Site-wide reports: Tracker, Task Mgr, Forums, Doc Mgr, Downloads'); ?></h2>
63 <li><a href="toolspie.php"><?php echo _('Pie (graph)'); ?></a></li>
64 <li><a href="siteact.php"><?php echo _('Line (graph)'); ?></a></li>
68 <div class="info-box">
69 <h2><?php echo _('Time tracking'); ?></h2>
71 <li><a href="usertime.php"><?php echo _('Individual User Time Report (graph)'); ?></a> <a href="usertime.php?typ=r">(<?php echo _('report'); ?>)</a></li>
72 <li><a href="projecttime.php"><?php echo _('Individual Project Time Report (graph)'); ?></a> <a href="projecttime.php?typ=r">(<?php echo _('report'); ?>)</a></li>
73 <li><a href="sitetime.php"><?php echo _('Site-Wide Time Report (graph)'); ?></a> <a href="sitetime.php?typ=r">(<?php echo _('report'); ?>)</a></li>
74 <li><a href="sitetimebar.php"><?php echo _('Site-Wide Total Hours Graph (graph)'); ?></a> <a href="sitetimebar.php?typ=r">(<?php echo _('report'); ?>)</a></li>
75 <li><a href="usersummary.php"><?php echo _('Site-Wide Task and Hours (report)'); ?></a></li>
79 <?php if (forge_check_global_perm ('forge_stats', 'admin')) { ?>
81 <div class="info-box">
82 <h2><?php echo _('Administrative'); ?></h2>
84 <li><a href="rebuild.php"><?php echo _('Initialize / Rebuild Reporting Tables'); ?></a></li>
85 <li><a href="timecategory.php"><?php echo _('Manage Time Tracker Categories'); ?></a></li>
91 plugin_hook ("reporting_reference", array());