aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/elgg_sidebar.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-25 01:07:50 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-25 01:07:50 +0000
commit9cf832684b0e64a27c5ffab309db189394cd3d4d (patch)
treecaae183fae205a4000680aa0487fa50366c7e639 /views/default/page_elements/elgg_sidebar.php
parente495d88fe96e6c73d6ed261fcdda332073052438 (diff)
downloadelgg-9cf832684b0e64a27c5ffab309db189394cd3d4d.tar.gz
elgg-9cf832684b0e64a27c5ffab309db189394cd3d4d.tar.bz2
Refs #2114 - added elgg_sidebar view
git-svn-id: http://code.elgg.org/elgg/trunk@6196 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/elgg_sidebar.php')
-rw-r--r--views/default/page_elements/elgg_sidebar.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/page_elements/elgg_sidebar.php b/views/default/page_elements/elgg_sidebar.php
new file mode 100644
index 000000000..a8d3239ab
--- /dev/null
+++ b/views/default/page_elements/elgg_sidebar.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Elgg sidebar contents
+ *
+ **/
+
+echo elgg_view('page_elements/owner_block');
+
+if (isset($vars['area2'])) {
+ echo $vars['area2'];
+}
+
+// optional third parameter of elgg_view_layout
+if (isset($vars['area3'])) {
+ echo $vars['area3'];
+}
+