diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 00:55:39 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 00:55:39 +0000 |
commit | ca5c2911327cdbffb5bee1d44d1f673025fcdbce (patch) | |
tree | 364f26a2ed327013dbfd1e018ba93adab26c4182 /views/default/layout/elements/sidebar.php | |
parent | ec1e46e01818b8226d651dd589f373d75f9f8411 (diff) | |
download | elgg-ca5c2911327cdbffb5bee1d44d1f673025fcdbce.tar.gz elgg-ca5c2911327cdbffb5bee1d44d1f673025fcdbce.tar.bz2 |
moved a few elements to layout from page
git-svn-id: http://code.elgg.org/elgg/trunk@7556 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/elements/sidebar.php')
-rw-r--r-- | views/default/layout/elements/sidebar.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/views/default/layout/elements/sidebar.php b/views/default/layout/elements/sidebar.php new file mode 100644 index 000000000..d1323f2cd --- /dev/null +++ b/views/default/layout/elements/sidebar.php @@ -0,0 +1,27 @@ +<?php +/** + * Elgg sidebar contents + * + * @uses $vars['sidebar'] Optional content that is displayed at the bottom of sidebar + */ + +echo elgg_view('layout/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']; +}
\ No newline at end of file |