aboutsummaryrefslogtreecommitdiff
path: root/dashboard/index.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 15:09:52 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-29 15:09:52 +0000
commit24eb2b495fe85b17c9e04af3965fb42f70f1f9b5 (patch)
tree2ac48f354f86f7469807094ba38840a032eecf34 /dashboard/index.php
parentda46c05e8edcfe5fa025de6c243bc7d9c419c59a (diff)
downloadelgg-24eb2b495fe85b17c9e04af3965fb42f70f1f9b5.tar.gz
elgg-24eb2b495fe85b17c9e04af3965fb42f70f1f9b5.tar.bz2
dashboard widget tweak
git-svn-id: https://code.elgg.org/elgg/trunk@1571 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'dashboard/index.php')
-rw-r--r--dashboard/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/dashboard/index.php b/dashboard/index.php
index 6f9365bd5..1e475cfd3 100644
--- a/dashboard/index.php
+++ b/dashboard/index.php
@@ -22,8 +22,11 @@
set_page_owner($_SESSION['user']->getGUID());
$title = elgg_echo('dashboard');
+ // wrap intro message in a div
+ $intro_message = "<div id=\"dashboard_info\">" . elgg_echo("dashboard:nowidgets") . "</div>";
+
// Try and get the user from the username and set the page body accordingly
- $body = elgg_view_layout('widgets',"","",elgg_echo("dashboard:nowidgets"));
+ $body = elgg_view_layout('widgets',"","",$intro_message);
page_draw($title, $body);