Elgg  Version 1.9
sidebar.php
Go to the documentation of this file.
1 <?php
8 echo elgg_view_menu('extras', array(
9  'sort_by' => 'priority',
10  'class' => 'elgg-menu-hz',
11 ));
12 
13 echo elgg_view('page/elements/owner_block', $vars);
14 
15 echo elgg_view_menu('page', array('sort_by' => 'name'));
16 
17 // optional 'sidebar' parameter
18 if (isset($vars['sidebar'])) {
19  echo $vars['sidebar'];
20 }
21 
22 // @todo deprecated so remove in Elgg 2.0
23 // optional second parameter of elgg_view_layout
24 if (isset($vars['area2'])) {
25  echo $vars['area2'];
26 }
27 
28 // @todo deprecated so remove in Elgg 2.0
29 // optional third parameter of elgg_view_layout
30 if (isset($vars['area3'])) {
31  echo $vars['area3'];
32 }
elgg_view_menu($menu_name, array $vars=array())
Render a menu.
Definition: views.php:687
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
if(file_exists($welcome)) $vars
Definition: upgrade.php:93