diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-11 17:54:53 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-11 17:54:53 +0000 |
commit | 66e281c8094d0e5882baa7c3a76a4b23b312329d (patch) | |
tree | af6e66eb2b7fa4d8a2a3246e10ce6d58ac6a4cad /mod | |
parent | 7be113be2092be8741b31b5a4de428e5e07f5d43 (diff) | |
download | elgg-66e281c8094d0e5882baa7c3a76a4b23b312329d.tar.gz elgg-66e281c8094d0e5882baa7c3a76a4b23b312329d.tar.bz2 |
css, dashboard and topmenu tweaks
git-svn-id: https://code.elgg.org/elgg/trunk@170 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/dashboard/index.php | 11 | ||||
-rw-r--r-- | mod/dashboard/start.php | 22 | ||||
-rw-r--r-- | mod/dashboard/views/default/dashboard/welcome.php | 1 |
3 files changed, 34 insertions, 0 deletions
diff --git a/mod/dashboard/index.php b/mod/dashboard/index.php new file mode 100644 index 000000000..9f70ff6c0 --- /dev/null +++ b/mod/dashboard/index.php @@ -0,0 +1,11 @@ +<?php
+
+ require_once("../../engine/start.php");
+
+ global $CONFIG;
+
+ $body = elgg_view("dashboard/welcome");
+
+ echo page_draw("Dashboard", $body);
+
+?>
\ No newline at end of file diff --git a/mod/dashboard/start.php b/mod/dashboard/start.php new file mode 100644 index 000000000..8eb99a37c --- /dev/null +++ b/mod/dashboard/start.php @@ -0,0 +1,22 @@ +<?php
+
+ /**
+ * Simple dashboard plugin
+ *
+ * These parameters are required for the event API, but we won't use them:
+ *
+ * @param unknown_type $event
+ * @param unknown_type $object_type
+ * @param unknown_type $object
+ */
+
+ function dashboard_init($event, $object_type, $object = null) {
+
+ global $CONFIG;
+
+ }
+
+ // Make sure test_init is called on initialisation
+ register_event_handler('init','system','dashboard_init');
+
+?>
\ No newline at end of file diff --git a/mod/dashboard/views/default/dashboard/welcome.php b/mod/dashboard/views/default/dashboard/welcome.php new file mode 100644 index 000000000..527ea88ba --- /dev/null +++ b/mod/dashboard/views/default/dashboard/welcome.php @@ -0,0 +1 @@ +<p><i>This will be a dashboard.</i></p>
\ No newline at end of file |