12 echo '<ul class="elgg-menu elgg-menu-site elgg-menu-site-default clearfix">';
14 echo elgg_view(
'navigation/menu/elements/item', array(
'item' => $menu_item));
18 echo '<li class="elgg-more">';
21 echo "<a href=\"#\">$more</a>";
24 'class' =>
'elgg-menu elgg-menu-site elgg-menu-site-more',
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg echo
Translates a string.
$default_items
Site navigation menu.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
if(file_exists($welcome)) $vars