aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/elgglib.php3
-rw-r--r--views/default/pageshells/pageshell.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 7e785ce07..57b8c71c8 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -328,7 +328,7 @@
* @param unknown_type $body
* @return unknown
*/
- function page_draw($title, $body) {
+ function page_draw($title, $body, $sidebar = "") {
if (isloggedin()) {
$view = "pageshells/pageshell";
} else {
@@ -337,6 +337,7 @@
echo elgg_view('pageshells/pageshell', array(
'title' => $title,
'body' => $body,
+ 'sidebar' => $sidebar,
'sysmessages' => system_messages(null,"")
)
);
diff --git a/views/default/pageshells/pageshell.php b/views/default/pageshells/pageshell.php
index 253029cc8..e70d8dfca 100644
--- a/views/default/pageshells/pageshell.php
+++ b/views/default/pageshells/pageshell.php
@@ -58,7 +58,8 @@
<div class="panelcontent">
<?php
// echo $vars['body'];
- // Removed to prevent double body!
+ // Removed to prevent double body!
+ echo $vars['sidebar'];
?>
</div>
</div>