aboutsummaryrefslogtreecommitdiff
path: root/views/default/welcome/logged_in.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/welcome/logged_in.php')
-rw-r--r--views/default/welcome/logged_in.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php
index 180746f22..d1e568669 100644
--- a/views/default/welcome/logged_in.php
+++ b/views/default/welcome/logged_in.php
@@ -11,7 +11,11 @@
//add various views to area1
$area1 = "<h2>" . sprintf(elgg_echo("welcome:user"),$vars['user']->name) . "</h2>";
$area1 .= "<p>" . elgg_echo("welcome_message") . "</p><br />";
-$area1 .= elgg_view('output/action_link', array('href' => "{$vars['url']}action/logout", 'text' => elgg_echo('logout')));
+$area1 .= elgg_view('output/url', array(
+ 'href' => "{$vars['url']}action/logout",
+ 'text' => elgg_echo('logout'),
+ 'is_action' => TRUE
+));
//send area one to the appropriate canvas layout
$body = elgg_view_layout("one_column", $area1);