From 11fb04cddecff9d91e047dea8ad9fbb02bd5cc78 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 12 Jan 2009 04:04:55 +0000 Subject: Only the admin dashboard has a sidebar now. admin.html.php looks for $sidebar and renders the page appropriately if one exists. But only admin_dashboard has one currently. --- core/controllers/admin_dashboard.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/controllers') diff --git a/core/controllers/admin_dashboard.php b/core/controllers/admin_dashboard.php index bd295b84..a3e08d4f 100644 --- a/core/controllers/admin_dashboard.php +++ b/core/controllers/admin_dashboard.php @@ -20,7 +20,8 @@ class Admin_Dashboard_Controller extends Admin_Controller { public function index() { $view = new Admin_View("admin.html"); - $view->content = $view->admin_dashboard_blocks(); + $view->content = new View("admin_dashboard_main.html"); + $view->sidebar = new View("admin_dashboard_sidebar.html"); print $view; } } -- cgit v1.2.3