From 4269aac9a0c97c6355cde2d19258b83bc9493289 Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 12 Jun 2008 11:20:58 +0000 Subject: Marcus Povey * Added stub for statistics * Added stub statistics library git-svn-id: https://code.elgg.org/elgg/trunk@882 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/admin.php | 1 + engine/lib/statistics.php | 13 +++++++++++++ views/default/admin/site.php | 2 +- views/default/admin/statistics.php | 16 ++++++++++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 engine/lib/statistics.php create mode 100644 views/default/admin/statistics.php 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 @@ + \ 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 @@ + \ No newline at end of file -- cgit v1.2.3