diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-21 13:36:35 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-21 13:36:35 +0000 |
commit | b8005abf1a1649ca84e5db807ec33b1ce1f59f0f (patch) | |
tree | 382c94ced6205d82118cffe9e990092452df1ed6 /engine | |
parent | 4cfb3d233d04210854f97c4ee5a8c8f48665cc52 (diff) | |
download | elgg-b8005abf1a1649ca84e5db807ec33b1ce1f59f0f.tar.gz elgg-b8005abf1a1649ca84e5db807ec33b1ce1f59f0f.tar.bz2 |
Added easier sidebar population
git-svn-id: https://code.elgg.org/elgg/trunk@665 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/elgglib.php | 3 |
1 files changed, 2 insertions, 1 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,"")
)
);
|