From b19729435cd918e03e1bd6fbb91f7281bf3e5873 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 12 Jan 2009 07:39:53 +0000 Subject: 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. --- core/helpers/core_installer.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core/helpers/core_installer.php') diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index 115aca20..0da8bc3e 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -233,7 +233,18 @@ class core_installer { $theme->version = $theme_info->version; $theme->save(); } + + module::set_var( + "core", "dashboard_blocks", serialize( + array("sidebar" => array(array("core", "stats"), + array("core", "platform_info"), + array("core", "project_news")), + "main" => array(array("core", "welcome"), + array("core", "photo_stream"), + array("core", "log_entries"))))); + module::set_version("core", 1); + module::set_var("core", "version", "3.0"); } } -- cgit v1.2.3