aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/sidebar.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-18 17:43:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-18 17:43:36 +0000
commit412d337ee7f1463dc4ea4cf1d23415b10749f996 (patch)
tree385fe8b798eec769f0714ed03d5ba41511354dd4 /views/default/page/elements/sidebar.php
parent17cc9374679465a035f4721eff0c3ae87225e9eb (diff)
downloadelgg-412d337ee7f1463dc4ea4cf1d23415b10749f996.tar.gz
elgg-412d337ee7f1463dc4ea4cf1d23415b10749f996.tar.bz2
Refs #2950: layout/elements => page/elements
git-svn-id: http://code.elgg.org/elgg/trunk@8285 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements/sidebar.php')
-rw-r--r--views/default/page/elements/sidebar.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/views/default/page/elements/sidebar.php b/views/default/page/elements/sidebar.php
new file mode 100644
index 000000000..8950c5f3f
--- /dev/null
+++ b/views/default/page/elements/sidebar.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * Elgg sidebar contents
+ *
+ * @uses $vars['sidebar'] Optional content that is displayed at the bottom of sidebar
+ */
+
+echo elgg_view('page/elements/page_links', $vars);
+
+echo elgg_view('page/elements/owner_block', $vars);
+
+echo elgg_view_menu('page', array('sort_by' => 'name'));
+
+// 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