summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-13 10:53:06 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-13 10:53:06 +0000
commit35a529cd86a453b8d46ef9933b12e95021926dba (patch)
tree33af0342ec3d69e475a425778ef736ca1ae53f51 /core/helpers
parent5f17ae4f02c22a42c4de53831c8c23d22c869820 (diff)
Change admin/themes to show both styles of themes side by side. This
eliminates the menu, which is kind of clunky. While I'm at it, let's call the "regular" themes a "site theme" so we have "site" and "admin" themes.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_installer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php
index c45c497c..20edd47d 100644
--- a/core/helpers/core_installer.php
+++ b/core/helpers/core_installer.php
@@ -190,7 +190,7 @@ class core_installer {
$root->save();
access::add_item($root);
- module::set_var("core", "active_theme", "default");
+ module::set_var("core", "active_site_theme", "default");
module::set_var("core", "active_admin_theme", "admin_default");
module::set_var("core", "page_size", 9);
module::set_var("core", "thumb_size", 200);
@@ -224,7 +224,7 @@ class core_installer {
"missing_graphics_toolkit");
}
- // Instantiate default themes (regular and admin)
+ // Instantiate default themes (site and admin)
foreach (array("default", "admin_default") as $theme_name) {
$theme_info = new ArrayObject(parse_ini_file(THEMEPATH . $theme_name . "/theme.info"),
ArrayObject::ARRAY_AS_PROPS);