aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/elements/sidebar.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-08 00:55:39 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-08 00:55:39 +0000
commitca5c2911327cdbffb5bee1d44d1f673025fcdbce (patch)
tree364f26a2ed327013dbfd1e018ba93adab26c4182 /views/default/layout/elements/sidebar.php
parentec1e46e01818b8226d651dd589f373d75f9f8411 (diff)
downloadelgg-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.php27
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