aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_topbar_logout.php
blob: ca3d16707ec372f68f4f2cb01a6f0ac08ef31638 (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' => elgg_get_site_url()."action/logout",
	'text' => elgg_echo('logout'),
	'is_action' => TRUE
));
echo '</div>';