mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user