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 --- mod/bookmarks/start.php | 2 +- mod/categories/start.php | 2 +- mod/custom_index/start.php | 2 +- mod/developers/views/default/page/shells/theme_preview.php | 4 ++-- mod/embed/start.php | 2 +- mod/file/start.php | 2 +- mod/groups/start.php | 2 +- mod/messages/start.php | 2 +- mod/notifications/start.php | 2 +- mod/pages/start.php | 2 +- mod/profile/start.php | 2 +- mod/reportedcontent/start.php | 2 +- mod/search/start.php | 2 +- mod/tinymce/start.php | 2 +- mod/twitter/start.php | 2 +- mod/zaudio/start.php | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) (limited to 'mod') diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index 3585999b3..001a68eb7 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -35,7 +35,7 @@ function bookmarks_init() { elgg_register_page_handler('bookmarks', 'bookmarks_page_handler'); - elgg_extend_view('css/screen', 'bookmarks/css'); + elgg_extend_view('css/elgg', 'bookmarks/css'); elgg_extend_view('js/elgg', 'bookmarks/js'); elgg_extend_view('page/links', 'bookmarks/page_links'); diff --git a/mod/categories/start.php b/mod/categories/start.php index 1b8645eef..bc272274f 100644 --- a/mod/categories/start.php +++ b/mod/categories/start.php @@ -13,7 +13,7 @@ elgg_register_event_handler('init', 'system', 'categories_init'); */ function categories_init() { - elgg_extend_view('css/screen', 'categories/css'); + elgg_extend_view('css/elgg', 'categories/css'); $action_base = elgg_get_plugins_path() . 'categories/actions'; elgg_register_action('settings/categories/save', "$action_base/save.php", 'admin'); diff --git a/mod/custom_index/start.php b/mod/custom_index/start.php index 3c395e87b..471a03999 100644 --- a/mod/custom_index/start.php +++ b/mod/custom_index/start.php @@ -9,7 +9,7 @@ register_elgg_event_handler('init', 'system', 'custom_index_init'); function custom_index_init() { // Extend system CSS with our own styles - elgg_extend_view('css/screen', 'custom_index/css'); + elgg_extend_view('css/elgg', 'custom_index/css'); // Replace the default index page register_plugin_hook('index', 'system', 'custom_index'); diff --git a/mod/developers/views/default/page/shells/theme_preview.php b/mod/developers/views/default/page/shells/theme_preview.php index bf18dd16c..0fe7e4732 100644 --- a/mod/developers/views/default/page/shells/theme_preview.php +++ b/mod/developers/views/default/page/shells/theme_preview.php @@ -3,7 +3,7 @@ * Page shell for theme preview */ -$screen = elgg_get_simplecache_url('css', 'screen'); +$elgg = elgg_get_simplecache_url('css', 'elgg'); $ie_url = elgg_get_simplecache_url('css', 'ie'); $ie6_url = elgg_get_simplecache_url('css', 'ie6'); @@ -16,7 +16,7 @@ header("Content-type: text/html; charset=UTF-8"); <?php echo $vars['title']; ?> - +