Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
sidebar.php
Go to the documentation of this file.
1 <?php
6 $content = elgg_view_menu('page', array('sort_by' => 'priority', 'show_section_headers' => true));
7 
8 echo elgg_view_module('main', '', $content, array('class' => 'elgg-admin-sidebar-menu', 'id' => 'elgg-admin-nav-collapse'));
$content
Admin sidebar – just outputs the page menus.
Definition: sidebar.php:6
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1207
elgg_view_menu($menu, array $vars=array())
Render a menu.
Definition: views.php:745