aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 11:20:58 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 11:20:58 +0000
commit4269aac9a0c97c6355cde2d19258b83bc9493289 (patch)
tree7f89407b229341e5aa2e9dd8de853e8b7bd7df10
parent40beee7e0a122811516122a388f6aaa5b1b3c2f4 (diff)
downloadelgg-4269aac9a0c97c6355cde2d19258b83bc9493289.tar.gz
elgg-4269aac9a0c97c6355cde2d19258b83bc9493289.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Added stub for statistics * Added stub statistics library git-svn-id: https://code.elgg.org/elgg/trunk@882 36083f99-b078-4883-b0ff-0f9b5a30f544
-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