aboutsummaryrefslogtreecommitdiff
path: root/mod/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dashboard')
-rw-r--r--mod/dashboard/manifest.xml2
-rw-r--r--mod/dashboard/start.php5
2 files changed, 6 insertions, 1 deletions
diff --git a/mod/dashboard/manifest.xml b/mod/dashboard/manifest.xml
index 14a620268..cbbc1044c 100644
--- a/mod/dashboard/manifest.xml
+++ b/mod/dashboard/manifest.xml
@@ -7,7 +7,7 @@
<description>A widget-based dashboard for your users</description>
<website>http://www.elgg.org/</website>
<copyright>See COPYRIGHT.txt</copyright>
- <license>GNU Public License version 2</license>
+ <license>GNU General Public License version 2</license>
<requires>
<type>elgg_release</type>
<version>1.8</version>
diff --git a/mod/dashboard/start.php b/mod/dashboard/start.php
index 5635ead57..65007d1a8 100644
--- a/mod/dashboard/start.php
+++ b/mod/dashboard/start.php
@@ -29,6 +29,10 @@ function dashboard_init() {
elgg_register_plugin_hook_handler('get_list', 'default_widgets', 'dashboard_default_widgets');
}
+/**
+ * Dashboard page handler
+ * @return bool
+ */
function dashboard_page_handler() {
// Ensure that only logged-in users can see this page
gatekeeper();
@@ -51,6 +55,7 @@ function dashboard_page_handler() {
$body = elgg_view_layout('one_column', array('content' => $widgets));
echo elgg_view_page($title, $body);
+ return true;
}