summaryrefslogtreecommitdiff
path: root/core/controllers/admin_dashboard.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-12 04:04:55 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-12 04:04:55 +0000
commit11fb04cddecff9d91e047dea8ad9fbb02bd5cc78 (patch)
tree09c75a89522fca01a8e0a9718a00750bef4f1ddb /core/controllers/admin_dashboard.php
parent5fdcdc0e682f3ae42652bddea274e824e2a51974 (diff)
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.
Diffstat (limited to 'core/controllers/admin_dashboard.php')
-rw-r--r--core/controllers/admin_dashboard.php3
1 files changed, 2 insertions, 1 deletions
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;
}
}