Dashboard blocks are now data driven, and you can add new blocks to

both the sidebar and the center content area from a dropdown at the
top of the dashboard sidebar.
This commit is contained in:
Bharat Mediratta
2009-01-12 07:39:53 +00:00
parent ef303bde3e
commit b19729435c
11 changed files with 220 additions and 81 deletions

View File

@@ -85,13 +85,11 @@ class Admin_View_Core extends View {
public function __call($function, $args) {
switch ($function) {
case "admin_credits";
case "admin_dashboard_blocks":
case "admin_footer":
case "admin_header_top":
case "admin_header_bottom":
case "admin_page_bottom":
case "admin_page_top":
case "admin_sidebar_blocks":
case "admin_head":
$blocks = array();
foreach (module::installed() as $module) {