aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_topbar_logout.php
blob: d37c5f126dd4ddeed2cb32999a1a673ed3881344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>';