From f26d7d47986222c0f3a4038f7bc8d73c37f8ca4e Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 21 Feb 2011 02:59:33 +0000 Subject: Fixes #2934 switching to css/elgg for css view since using a print viewtype is a good idea and screen would become a confusing idea git-svn-id: http://code.elgg.org/elgg/trunk@8383 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/admin.php | 2 +- engine/lib/views.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engine') diff --git a/engine/lib/admin.php b/engine/lib/admin.php index e5d78336f..f53001b71 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -278,7 +278,7 @@ function admin_settings_page_handler($page) { elgg_admin_add_plugin_settings_menu(); elgg_set_context('admin'); - elgg_unregister_css('screen'); + elgg_unregister_css('elgg'); $url = elgg_get_simplecache_url('js', 'admin'); elgg_register_js($url, 'admin'); diff --git a/engine/lib/views.php b/engine/lib/views.php index e871ec0a1..f019fee5f 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1459,8 +1459,8 @@ function elgg_views_register_core_head_elements() { $url = elgg_get_simplecache_url('js', 'elgg'); elgg_register_js($url, 'elgg'); - $url = elgg_get_simplecache_url('css', 'screen'); - elgg_register_css($url, 'screen'); + $url = elgg_get_simplecache_url('css', 'elgg'); + elgg_register_css($url, 'elgg'); } /** -- cgit v1.2.3