From 35a529cd86a453b8d46ef9933b12e95021926dba Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 13 Jan 2009 10:53:06 +0000 Subject: 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. --- core/helpers/core_installer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') 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); -- cgit v1.2.3