16 echo
'<ul class="elgg-menu elgg-menu-hover">';
20 'href' =>
$user->getURL(),
21 'text' =>
"<span class=\"elgg-heading-basic\">$user->name</span>@$user->username",
24 echo
"<li>$name_link</li>";
29 echo
elgg_view(
'navigation/menu/elements/section', array(
30 'class' =>
"elgg-menu elgg-menu-hover-actions",
40 echo
elgg_view(
'navigation/menu/elements/section', array(
41 'class' =>
'elgg-menu elgg-menu-hover-default',
52 echo
elgg_view(
'navigation/menu/elements/section', array(
53 'class' =>
'elgg-menu elgg-menu-hover-admin',
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
elgg_is_logged_in()
Returns whether or not the user is currently logged in.
if(file_exists($welcome)) $vars
$actions
Provides common Elgg services.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.