summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-22 14:34:23 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-22 14:34:23 +0000
commit36ec18969549ff173b45ae35577e035c2c19f641 (patch)
tree8a73f48534a188f946e6edf5ecad90f837ce3d84 /includes/locale.inc
parent73a72337bb4c296211c5cb728b027ad0fefa85ed (diff)
downloadbrdo-36ec18969549ff173b45ae35577e035c2c19f641.tar.gz
brdo-36ec18969549ff173b45ae35577e035c2c19f641.tar.bz2
#326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string.
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index e8f3998ed..8e803eb61 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -46,7 +46,7 @@ function locale_languages_overview_form() {
$form['weight'][$langcode] = array(
'#type' => 'weight',
'#default_value' => $language->weight,
- '#attributes' => array('class' => 'language-order-weight'),
+ '#attributes' => array('class' => array('language-order-weight')),
);
$form['name'][$langcode] = array('#markup' => check_plain($language->name));
$form['native'][$langcode] = array('#markup' => check_plain($language->native));
@@ -91,7 +91,7 @@ function theme_locale_languages_overview_form($form) {
drupal_render($form['weight'][$key]),
l(t('edit'), 'admin/config/regional/language/edit/' . $key) . (($key != 'en' && $key != $default->language) ? ' ' . l(t('delete'), 'admin/config/regional/language/delete/' . $key) : '')
),
- 'class' => 'draggable'
+ 'class' => array('draggable'),
);
}
}
@@ -2303,8 +2303,8 @@ function _locale_translate_seek() {
array('data' => check_plain(truncate_utf8($string['source'], 150, FALSE, TRUE)) . '<br /><small>' . $string['location'] . '</small>'),
$string['context'],
array('data' => _locale_translate_language_list($string['languages'], $limit_language), 'align' => 'center'),
- array('data' => l(t('edit'), "admin/config/regional/translate/edit/$lid", array('query' => drupal_get_destination())), 'class' => 'nowrap'),
- array('data' => l(t('delete'), "admin/config/regional/translate/delete/$lid", array('query' => drupal_get_destination())), 'class' => 'nowrap'),
+ array('data' => l(t('edit'), "admin/config/regional/translate/edit/$lid", array('query' => drupal_get_destination())), 'class' => array('nowrap')),
+ array('data' => l(t('delete'), "admin/config/regional/translate/delete/$lid", array('query' => drupal_get_destination())), 'class' => array('nowrap')),
);
}