aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/sidebar.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
commit49e478da9d5540da798a7d497615f0d2903c8e4a (patch)
tree04a91f3028df014fb2a33b57f614acf88a07805b /views/default/page_elements/sidebar.php
parent8c4fe01968aecea2ccfe6146ff580a272750e4d7 (diff)
downloadelgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.gz
elgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.bz2
Fixes #2631 removes 'elgg_' namespace from the page element views - anyone working with the trunk will need to update their theme and/or flush their cache
git-svn-id: http://code.elgg.org/elgg/trunk@7268 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/sidebar.php')
-rw-r--r--views/default/page_elements/sidebar.php19
1 files changed, 19 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..2706a23c5
--- /dev/null
+++ b/views/default/page_elements/sidebar.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Elgg sidebar contents
+ *
+ **/
+
+echo elgg_view('page_elements/owner_block');
+
+echo elgg_view('navigation/sidebar_menu');
+
+// optional second parameter of elgg_view_layout
+if (isset($vars['area2'])) {
+ echo $vars['area2'];
+}
+
+// optional third parameter of elgg_view_layout
+if (isset($vars['area3'])) {
+ echo $vars['area3'];
+} \ No newline at end of file