diff options
Diffstat (limited to 'views/default/page_elements/sidebar.php')
-rw-r--r-- | views/default/page_elements/sidebar.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/views/default/page_elements/sidebar.php b/views/default/page_elements/sidebar.php index 2706a23c5..8a5574da6 100644 --- a/views/default/page_elements/sidebar.php +++ b/views/default/page_elements/sidebar.php @@ -1,18 +1,26 @@ <?php /** * Elgg sidebar contents - * + * + * @uses $vars['sidebar'] Optional content that is displayed at the bottom of sidebar **/ echo elgg_view('page_elements/owner_block'); echo elgg_view('navigation/sidebar_menu'); +// optional 'sidebar' parameter +if (isset($vars['sidebar'])) { + echo $vars['sidebar']; +} + +// @todo deprecated so remove in Elgg 2.0 // optional second parameter of elgg_view_layout if (isset($vars['area2'])) { echo $vars['area2']; } +// @todo deprecated so remove in Elgg 2.0 // optional third parameter of elgg_view_layout if (isset($vars['area3'])) { echo $vars['area3']; |