From 0c5b4c242b0805c55ca3b1a887eb222844a66400 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 21 Jan 2010 01:30:09 +0000 Subject: Fixes #750: All actions require __elgg_ts and __elgg_token. git-svn-id: http://code.elgg.org/elgg/trunk@3821 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/welcome/logged_in.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'views/default/welcome') diff --git a/views/default/welcome/logged_in.php b/views/default/welcome/logged_in.php index 8f70d3005..180746f22 100644 --- a/views/default/welcome/logged_in.php +++ b/views/default/welcome/logged_in.php @@ -11,11 +11,10 @@ //add various views to area1 $area1 = "

" . sprintf(elgg_echo("welcome:user"),$vars['user']->name) . "

"; $area1 .= "

" . elgg_echo("welcome_message") . "


"; -$url = $vars['url'] . "action/logout"; -$area1 .= "" . elgg_echo('logout') . ""; +$area1 .= elgg_view('output/action_link', array('href' => "{$vars['url']}action/logout", 'text' => elgg_echo('logout'))); //send area one to the appropriate canvas layout $body = elgg_view_layout("one_column", $area1); //draw to screen -echo $body; \ No newline at end of file +echo $body; -- cgit v1.2.3