aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/admin.php1
-rw-r--r--engine/lib/statistics.php13
-rw-r--r--views/default/admin/site.php2
-rw-r--r--views/default/admin/statistics.php16
4 files changed, 31 insertions, 1 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index aa730407c..10ab87cd7 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -42,6 +42,7 @@
global $CONFIG;
// Add plugin main menu option (last)
+ extend_elgg_admin_page('admin/statistics', 'admin/main');
extend_elgg_admin_page('admin/main_opt/site', 'admin/main');
extend_elgg_admin_page('admin/main_opt/user', 'admin/main');
extend_elgg_admin_page('admin/main_opt/plugins', 'admin/main', 999); // Always last
diff --git a/engine/lib/statistics.php b/engine/lib/statistics.php
new file mode 100644
index 000000000..3adebd0b6
--- /dev/null
+++ b/engine/lib/statistics.php
@@ -0,0 +1,13 @@
+<?php
+ /**
+ * Elgg statistics library.
+ * This file contains updated
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+?> \ No newline at end of file
diff --git a/views/default/admin/site.php b/views/default/admin/site.php
index f64c9b994..34a89481d 100644
--- a/views/default/admin/site.php
+++ b/views/default/admin/site.php
@@ -6,7 +6,7 @@
* @package Elgg
* @subpackage Core
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
+ * @author Marcus Povey
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
diff --git a/views/default/admin/statistics.php b/views/default/admin/statistics.php
new file mode 100644
index 000000000..ad9356276
--- /dev/null
+++ b/views/default/admin/statistics.php
@@ -0,0 +1,16 @@
+<?php
+ /**
+ * Elgg statistics screen
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ global $CONFIG;
+
+
+?> \ No newline at end of file