summaryrefslogtreecommitdiff
path: root/core/helpers/core_installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-12 07:39:53 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-12 07:39:53 +0000
commitb19729435cd918e03e1bd6fbb91f7281bf3e5873 (patch)
tree2e1e1723bfcb8358ac4060927c396777acff2af7 /core/helpers/core_installer.php
parentef303bde3e853a01e45b7734698210a40a7be812 (diff)
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.
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r--core/helpers/core_installer.php11
1 files changed, 11 insertions, 0 deletions
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");
}
}