diff options
Diffstat (limited to 'views/default/page_elements/elgg_topbar_logout.php')
-rw-r--r-- | views/default/page_elements/elgg_topbar_logout.php | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ +<?php +/** + * A standard logout link + * + * Called within the Elgg topbar view. + */ + +echo '<div class="log_out">'; +echo elgg_view('output/url', array( + 'href' => "{$vars['url']}action/logout", + 'text' => elgg_echo('logout'), + 'is_action' => TRUE +)); +echo '</div>'; |