aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 02:59:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 02:59:33 +0000
commitf26d7d47986222c0f3a4038f7bc8d73c37f8ca4e (patch)
tree07edf3c08f8151f17a9e2fb4a64d3302bf56d7ad /engine/lib
parent0030fe2d63684b6612316b5162d34bfaa5dbfee1 (diff)
downloadelgg-f26d7d47986222c0f3a4038f7bc8d73c37f8ca4e.tar.gz
elgg-f26d7d47986222c0f3a4038f7bc8d73c37f8ca4e.tar.bz2
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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/admin.php2
-rw-r--r--engine/lib/views.php4
2 files changed, 3 insertions, 3 deletions
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');
}
/**