From 24eb2b495fe85b17c9e04af3965fb42f70f1f9b5 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 29 Jul 2008 15:09:52 +0000 Subject: dashboard widget tweak git-svn-id: https://code.elgg.org/elgg/trunk@1571 36083f99-b078-4883-b0ff-0f9b5a30f544 --- dashboard/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dashboard/index.php') 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 = "
" . elgg_echo("dashboard:nowidgets") . "
"; + // 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); -- cgit v1.2.3