diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-13 10:56:47 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-13 10:56:47 +0000 |
commit | 5ab64ee34c52c728c5b056b8ed060147f2a94b03 (patch) | |
tree | 189b7e39691e805eef2fbba0e4fa28891d976260 /engine | |
parent | b0b096489393d505e105ba74b09a72afcfb7c1cf (diff) | |
download | elgg-5ab64ee34c52c728c5b056b8ed060147f2a94b03.tar.gz elgg-5ab64ee34c52c728c5b056b8ed060147f2a94b03.tar.bz2 |
Added a page handler for the dashboard
git-svn-id: https://code.elgg.org/elgg/trunk@1884 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/users.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index b3456504e..5f4866af4 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1133,6 +1133,13 @@ }
}
+
+ /**
+ * Page handler for dashboard
+ */
+ function dashboard_page_handler($page_elements) {
+ @require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php");
+ }
/**
* Sets the last action time of the given user to right now.
@@ -1183,6 +1190,7 @@ register_page_handler('friends','friends_page_handler');
register_page_handler('friendsof','friends_of_page_handler');
register_page_handler('collections','collections_page_handler');
+ register_page_handler('dashboard','dashboard_page_handler');
register_action("register",true);
register_action("useradd",true); register_action("friends/add");
|