From 2c17e5afa3bb07b4cbd5b4a3a6aa4813c56e4ba8 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 12 Dec 2010 12:59:07 +0000 Subject: moved dashboard handler into base pages directory git-svn-id: http://code.elgg.org/elgg/trunk@7604 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 2 +- pages/dashboard.php | 28 ++++++++++++++++++++++++++++ pages/dashboard/index.php | 28 ---------------------------- 3 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 pages/dashboard.php delete mode 100644 pages/dashboard/index.php diff --git a/engine/lib/users.php b/engine/lib/users.php index 1d7359806..a91f143b0 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1379,7 +1379,7 @@ function collections_page_handler($page_elements) { * @return void */ function dashboard_page_handler($page_elements) { - require_once(dirname(dirname(dirname(__FILE__))) . "/pages/dashboard/index.php"); + require_once(dirname(dirname(dirname(__FILE__))) . "/pages/dashboard.php"); } diff --git a/pages/dashboard.php b/pages/dashboard.php new file mode 100644 index 000000000..ef3d987b1 --- /dev/null +++ b/pages/dashboard.php @@ -0,0 +1,28 @@ + $intro_message, + 'num_columns' => 3, +); +$widgets = elgg_view_layout('widgets', $params); + +$body = elgg_view_layout('one_column', array('content' => $widgets)); + +echo elgg_view_page($title, $body); \ No newline at end of file diff --git a/pages/dashboard/index.php b/pages/dashboard/index.php deleted file mode 100644 index ef3d987b1..000000000 --- a/pages/dashboard/index.php +++ /dev/null @@ -1,28 +0,0 @@ - $intro_message, - 'num_columns' => 3, -); -$widgets = elgg_view_layout('widgets', $params); - -$body = elgg_view_layout('one_column', array('content' => $widgets)); - -echo elgg_view_page($title, $body); \ No newline at end of file -- cgit v1.2.3