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>";
30 'class' =>
"elgg-menu elgg-menu-hover-actions",
41 'class' =>
'elgg-menu elgg-menu-hover-default',
53 'class' =>
'elgg-menu elgg-menu-hover-admin',
elgg_is_logged_in()
Returns whether or not the user is currently logged in.
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.