diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-14 20:35:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-14 20:35:11 +0000 |
commit | 937f9099b47b12ba75c035ac8e328b0bf27ccd02 (patch) | |
tree | ff793e6bd5db3505bb9884499dcf04f469d46ba3 /modules/user | |
parent | 5b455a2e0fdaec6b5b9c324ffbbe4bddd8c617ee (diff) | |
download | brdo-937f9099b47b12ba75c035ac8e328b0bf27ccd02.tar.gz brdo-937f9099b47b12ba75c035ac8e328b0bf27ccd02.tar.bz2 |
- Patch #77183 by m3vrck: cleaned up some of the CSS mess.
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 4 |
1 files changed, 4 insertions, 0 deletions
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))); |