From b8005abf1a1649ca84e5db807ec33b1ce1f59f0f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 21 May 2008 13:36:35 +0000 Subject: Added easier sidebar population git-svn-id: https://code.elgg.org/elgg/trunk@665 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine') 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,"") ) ); -- cgit v1.2.3