diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-14 07:14:50 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-14 07:14:50 +0000 |
commit | 3cc2b1e3d78d7e82572d59939507bb3eddce53b4 (patch) | |
tree | 9a31e74cff3d628bb918f1bc2887b6a433f91aba /modules/node/node.module | |
parent | 4b65446fb63496a12486ed8616ba84186e82f74c (diff) | |
download | brdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.gz brdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.bz2 |
#77183 by m3avrck and timcn, split up drupal.css by module.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 8cd0c694e..c05e8dc3e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1074,6 +1074,10 @@ function node_menu($may_cache) { } } 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', 'node') .'/node.css'); + if (arg(0) == 'node' && is_numeric(arg(1))) { $node = node_load(arg(1)); if ($node->nid) { |