summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-07-25 20:40:35 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-07-25 20:40:35 +0000
commit11a4aba9a63c82b0bb7805b50b8a761cc5a9c493 (patch)
tree92719121fa484fd1efc4160909f67195766c389a /modules/system
parentdd2c5765999125bf37dd25b4e0a88cce77043a55 (diff)
downloadbrdo-11a4aba9a63c82b0bb7805b50b8a761cc5a9c493.tar.gz
brdo-11a4aba9a63c82b0bb7805b50b8a761cc5a9c493.tar.bz2
- #26688: Add mbstring support to Drupal and clear up string handling fuzzies.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 3ff0c6ddf..4b4ec2476 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -234,11 +234,11 @@ function system_view_general() {
$group = '';
$toolkits_available = image_get_available_toolkits();
if (count($toolkits_available) > 1) {
- $group .= form_radios(t('Select an image processing toolkit'), 'image_toolkit', variable_get('image_toolkit', image_get_toolkit()), $toolkits_available);
+ $group .= form_radios(t('Select an image processing toolkit'), 'image_toolkit', variable_get('image_toolkit', image_get_toolkit()), $toolkits_available);
}
$group .= image_toolkit_invoke('settings');
if ($group) {
- $output .= form_group_collapsible(t('Image handling'), '<p>'.$group.'</p>', TRUE);
+ $output .= form_group_collapsible(t('Image handling'), '<p>'. $group .'</p>', TRUE);
}
// Date settings:
@@ -276,6 +276,9 @@ function system_view_general() {
$output .= form_group_collapsible(t('Date settings'), $group, TRUE);
+ // String handling: report status and errors.
+ $output .= form_group_collapsible(t('String handling'), unicode_settings(), TRUE);
+
return $output;
}
@@ -678,7 +681,7 @@ function system_theme_settings($key = '') {
$rows = array();
// Use $utype field , and strtolower() it to get the type field.. to avoid issues with ucfirst() and unicode.
- $type = strtolower($utype);
+ $type = drupal_strtolower($utype);
$value = $settings[$type . '_links'];
if (!is_array($value)) {
$value = array();