From 45d1a0ec7c96297f204744a5ca8e340c08ba8ea9 Mon Sep 17 00:00:00 2001 From: nickw Date: Mon, 10 May 2010 18:26:01 +0000 Subject: Breaking logout link into a separate view. git-svn-id: http://code.elgg.org/elgg/trunk@5993 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/elgg_topbar_logout.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 views/default/page_elements/elgg_topbar_logout.php (limited to 'views/default/page_elements/elgg_topbar_logout.php') diff --git a/views/default/page_elements/elgg_topbar_logout.php b/views/default/page_elements/elgg_topbar_logout.php new file mode 100644 index 000000000..d37c5f126 --- /dev/null +++ b/views/default/page_elements/elgg_topbar_logout.php @@ -0,0 +1,14 @@ +'; +echo elgg_view('output/url', array( + 'href' => "{$vars['url']}action/logout", + 'text' => elgg_echo('logout'), + 'is_action' => TRUE +)); +echo ''; -- cgit v1.2.3