diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 13:03:33 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 13:03:33 +0000 |
commit | 771c5e5909e69f614372f6bfb43300647e5aa5e1 (patch) | |
tree | 8adc418cc5e11c4ac21211cd1f6a1904a209ab03 /mod/riverdashboard/start.php | |
parent | 6f9f24e681a05b64ea84ab7ba0a50f40bb291f75 (diff) | |
download | elgg-771c5e5909e69f614372f6bfb43300647e5aa5e1.tar.gz elgg-771c5e5909e69f614372f6bfb43300647e5aa5e1.tar.bz2 |
New river dashboard.
git-svn-id: https://code.elgg.org/elgg/trunk@2737 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/start.php')
-rw-r--r-- | mod/riverdashboard/start.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php new file mode 100644 index 000000000..b99cff0a0 --- /dev/null +++ b/mod/riverdashboard/start.php @@ -0,0 +1,27 @@ +<?php
+
+ /**
+ * Elgg river dashboard plugin
+ *
+ * @package ElggRiverDash
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd <info@elgg.com>
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.org/
+ */
+
+ function riverdashboard_init() {
+
+ register_page_handler('dashboard','riverdashboard_dashboard');
+
+ }
+
+ function riverdashboard_dashboard() {
+
+ include(dirname(__FILE__) . '/index.php');
+
+ }
+
+ register_plugin_hook('init','system','riverdashboard_init');
+
+?>
\ No newline at end of file |