From c2c63b94f6637de1bcc19fd0db3af8b7756312de Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 19 Sep 2010 18:10:42 +0000 Subject: - Patch #885228 by sun, Jacine, mverbaar: CSS Files are in major need of clean up. --- modules/system/system.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 9d0930476..134a51e5f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1830,13 +1830,13 @@ function _system_filetransfer_backend_form_common() { function system_init() { $path = drupal_get_path('module', 'system'); // Add the CSS for this module. + drupal_add_css($path . '/system.base.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); if (arg(0) == 'admin' || (variable_get('node_admin_theme', '0') && arg(0) == 'node' && (arg(1) == 'add' || arg(2) == 'edit' || arg(2) == 'delete'))) { - drupal_add_css($path . '/admin.css', array('weight' => CSS_SYSTEM)); + drupal_add_css($path . '/system.admin.css', array('weight' => CSS_SYSTEM)); } - drupal_add_css($path . '/system.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); - drupal_add_css($path . '/system-behavior.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); - drupal_add_css($path . '/system-menus.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); - drupal_add_css($path . '/system-messages.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); + drupal_add_css($path . '/system.menus.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); + drupal_add_css($path . '/system.messages.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); + drupal_add_css($path . '/system.theme.css', array('weight' => CSS_SYSTEM, 'preprocess' => TRUE)); // Ignore slave database servers for this request. // -- cgit v1.2.3