diff options
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 9 |
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(); |