From 7e1527ee61bc10b3765b95b9af8faaa2254da5a8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 7 Oct 2005 06:11:12 +0000 Subject: - Patch #29465: new form API by Adrian et al. TODO: + The contact.module was broken; a new patch for contact.module is needed. + Documentation is needed. + The most important modules need to be updated ASAP. --- includes/unicode.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes/unicode.inc') diff --git a/includes/unicode.inc b/includes/unicode.inc index 04751ed79..ce6ba32ac 100644 --- a/includes/unicode.inc +++ b/includes/unicode.inc @@ -81,7 +81,8 @@ function unicode_settings() { $options = array(UNICODE_SINGLEBYTE => t('Standard PHP: operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.', array('%url' => 'http://www.php.net/mbstring')), UNICODE_MULTIBYTE => t('Multi-byte: operations on Unicode strings are supported through the PHP mbstring extension.', array('%url' => 'http://www.php.net/mbstring')), UNICODE_ERROR => t('Invalid: the current configuration is incompatible with Drupal.')); - return form_item(t('String handling method'), $options[$status]); + $form['settings'] = array(type => 'item', title =>t('String handling method'), value => $options[$status]); + return $form; } /** @@ -474,3 +475,4 @@ function drupal_substr($text, $start, $length = NULL) { } } + -- cgit v1.2.3