diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/admin.php | 2 | ||||
-rw-r--r-- | engine/lib/views.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index a1992aa15..ad7896cb7 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -208,7 +208,7 @@ function admin_settings_page_handler($page) { } $body = elgg_view_layout('administration', $content); - page_draw($title, $body); + page_draw($title, $body, "", 'page_shells/admin'); } /** diff --git a/engine/lib/views.php b/engine/lib/views.php index 60078fa7a..c1c07024a 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1019,7 +1019,7 @@ function autoregister_views($view_base, $folder, $base_location_path, $viewtype) * @param unknown_type $body * @return unknown */ -function page_draw($title, $body, $sidebar = "") { +function page_draw($title, $body, $sidebar = "", $page_shell = 'page_shells/default') { // get messages - try for errors first $sysmessages = system_messages(null, "errors"); @@ -1032,7 +1032,7 @@ function page_draw($title, $body, $sidebar = "") { } // Draw the page - $output = elgg_view('page_shells/default', array( + $output = elgg_view($page_shell, array( 'title' => $title, 'body' => $body, 'sidebar' => $sidebar, |