diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-21 01:30:09 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-21 01:30:09 +0000 |
commit | 0c5b4c242b0805c55ca3b1a887eb222844a66400 (patch) | |
tree | f3455e9dcac50226d33ab3048a691f90ee82d5c5 /views/default/basic_elements/welcome.php | |
parent | 3d9fb93c8c91e45b88dfeb816960049e0cb33231 (diff) | |
download | elgg-0c5b4c242b0805c55ca3b1a887eb222844a66400.tar.gz elgg-0c5b4c242b0805c55ca3b1a887eb222844a66400.tar.bz2 |
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
Diffstat (limited to 'views/default/basic_elements/welcome.php')
-rw-r--r-- | views/default/basic_elements/welcome.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/basic_elements/welcome.php b/views/default/basic_elements/welcome.php index 297daa830..979f32b4f 100644 --- a/views/default/basic_elements/welcome.php +++ b/views/default/basic_elements/welcome.php @@ -13,4 +13,5 @@ $user = $vars['name']; ?> <p><?php echo sprintf(elgg_echo('welcome:user'), $user); ?></p> -<p><a href="<?php echo $vars['url']; ?>action/logout">[logout]</a></p>
\ No newline at end of file +<p><?php echo elgg_view('output/action_link', array('href' => "{$vars['url']}action/logout", 'text' => elgg_echo('logout'))); ?></p> + |