aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/login_index/content.php
blob: 1e82df54424934fcc244a2943c99c95aa5a8bdf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php 
  
if (elgg_is_logged_in()) {
	$top_box = "<h2>" . elgg_echo("welcome") . " ";
	$top_box .= elgg_get_logged_in_user_entity()->name;
	$top_box .= "</h2>";
} else {
	$top_box = elgg_view("core/account/login_box");
}

echo $top_box;
?>