From df2cf40d2cd197ed5f1960b026b31aad32b5d930 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 26 Oct 2008 18:06:39 +0000 Subject: - Patch #266358 by Rob Loach, mfer: use array in drupal_add_css(). --- modules/system/system.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.module b/modules/system/system.module index 633623a4b..ed9dda45b 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -706,13 +706,13 @@ function system_init() { if (arg(0) == 'admin' || (variable_get('node_admin_theme', '0') && arg(0) == 'node' && (arg(1) == 'add' || arg(2) == 'edit'))) { global $custom_theme; $custom_theme = variable_get('admin_theme', '0'); - drupal_add_css(drupal_get_path('module', 'system') . '/admin.css', 'module'); + drupal_add_css(drupal_get_path('module', 'system') . '/admin.css'); } // Add the CSS for this module. - drupal_add_css(drupal_get_path('module', 'system') . '/defaults.css', 'module'); - drupal_add_css(drupal_get_path('module', 'system') . '/system.css', 'module'); - drupal_add_css(drupal_get_path('module', 'system') . '/system-menus.css', 'module'); + drupal_add_css(drupal_get_path('module', 'system') . '/defaults.css'); + drupal_add_css(drupal_get_path('module', 'system') . '/system.css'); + drupal_add_css(drupal_get_path('module', 'system') . '/system-menus.css'); } /** -- cgit v1.2.3