From 11a4aba9a63c82b0bb7805b50b8a761cc5a9c493 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Mon, 25 Jul 2005 20:40:35 +0000 Subject: - #26688: Add mbstring support to Drupal and clear up string handling fuzzies. --- modules/system/system.module | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/system') 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'), '

'.$group.'

', TRUE); + $output .= form_group_collapsible(t('Image handling'), '

'. $group .'

', 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(); -- cgit v1.2.3