From 937f9099b47b12ba75c035ac8e328b0bf27ccd02 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 14 Aug 2006 20:35:11 +0000 Subject: - Patch #77183 by m3vrck: cleaned up some of the CSS mess. --- modules/user/user.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/user') diff --git a/modules/user/user.module b/modules/user/user.module index 96b6db3ce..c0b11d51d 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -756,6 +756,10 @@ function user_menu($may_cache) { 'weight' => 10); } else { + // Add the CSS for this module. We put this in !$may_cache so it is only + // added once per request. + drupal_add_css(drupal_get_path('module', 'user') .'/user.css', 'core'); + if (arg(0) == 'user' && is_numeric(arg(1)) && arg(1) > 0) { $account = user_load(array('uid' => arg(1))); -- cgit v1.2.3