summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-12-01 22:47:53 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-12-01 22:47:53 +0000
commit0ea4e1c5f638a22f7353caaa7515ebffc638e432 (patch)
tree7e8af8def0643985d92fc41b0cad96086377b09b /includes
parent7b76938b2401388f411dbf2179554ca5b449da55 (diff)
downloadbrdo-0ea4e1c5f638a22f7353caaa7515ebffc638e432.tar.gz
brdo-0ea4e1c5f638a22f7353caaa7515ebffc638e432.tar.bz2
#100563: Conditional loading of (some) module.css files
Diffstat (limited to 'includes')
-rw-r--r--includes/locale.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 44c94d3a1..36c3092ac 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -1283,6 +1283,9 @@ function _locale_export_remove_plural($entry) {
* List languages in search result table
*/
function _locale_string_language_list($translation) {
+ // Add CSS
+ drupal_add_css(drupal_get_path('module', 'locale') .'/locale.css');
+
$languages = locale_supported_languages(FALSE, TRUE);
unset($languages['name']['en']);
$output = '';