summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-12 17:24:06 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-12 17:24:06 +0000
commit1a2576036b3377ec83a08b7238f59dc474053543 (patch)
treeb425f4f254ae6f148e44c1f37e47ac3093b9bdc9 /modules/locale
parent97c4c603d56799e674d3b5c81ce262d6c66cd518 (diff)
downloadbrdo-1a2576036b3377ec83a08b7238f59dc474053543.tar.gz
brdo-1a2576036b3377ec83a08b7238f59dc474053543.tar.bz2
- Bugfix: charset fixes/clean-up. Patch #52 by Al.
- Improvement: renamed some theme functions of the forum module for sake of consistency/readability. Patch #2 by Kristjan. - Improvement: usability improvements to the Xtemplate theme. Patch #3 by Kristjan. - Improvement: CSS'ified the book module pages. Patch #3 by Al. (I simplified the "l ocation" part. Al's approach gave you a bit more power but I'm not sure anyone wants to change that. Besides, this will change as soon we integrate the menu system so I kept it easy for now.)
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index 99f374d36..5a60c6162 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -103,7 +103,7 @@ function locale_edit($lid) {
$result = db_query("SELECT * FROM locales WHERE lid = '$lid'");
if ($translation = db_fetch_object($result)) {
- $form .= form_item(t("Original text"), wordwrap(htmlspecialchars($translation->string)));
+ $form .= form_item(t("Original text"), wordwrap(drupal_specialchars($translation->string, 0)));
foreach ($languages as $code=>$language) {
$form .= (strlen($translation->string) > 30) ? form_textarea($language, $code, $translation->$code, 50, 10) : form_textfield($language, $code, $translation->$code, 50, 128);