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