summaryrefslogtreecommitdiff
path: root/modules/locale/locale.module
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-14 07:14:50 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-14 07:14:50 +0000
commit3cc2b1e3d78d7e82572d59939507bb3eddce53b4 (patch)
tree9a31e74cff3d628bb918f1bc2887b6a433f91aba /modules/locale/locale.module
parent4b65446fb63496a12486ed8616ba84186e82f74c (diff)
downloadbrdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.gz
brdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.bz2
#77183 by m3avrck and timcn, split up drupal.css by module.
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r--modules/locale/locale.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index cf721d43d..42c69508d 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -111,6 +111,10 @@ function locale_menu($may_cache) {
'type' => MENU_CALLBACK);
}
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', 'locale') .'/locale.css');
+
if (is_numeric(arg(4))) {
// String related callbacks
$items[] = array('path' => 'admin/settings/locale/string/edit/'. arg(4),