From 3cc2b1e3d78d7e82572d59939507bb3eddce53b4 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Mon, 14 Aug 2006 07:14:50 +0000 Subject: #77183 by m3avrck and timcn, split up drupal.css by module. --- modules/system/system.module | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 30f4c9108..11ebead49 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -246,6 +246,12 @@ function system_menu($may_cache) { $custom_theme = variable_get('admin_theme', 'bluemarine'); } } + else { + // Add the CSS for this module + // We put this in !$may_cache so it's only added once per request + drupal_add_css(drupal_get_path('module', 'system') .'/defaults.css', 'core'); + drupal_add_css(drupal_get_path('module', 'system') .'/system.css', 'core'); + } return $items; } -- cgit v1.2.3