From 20a1b3a0e1a46266b149a23562bb71680e666edb Mon Sep 17 00:00:00 2001 From: thomascube Date: Sun, 25 Sep 2005 16:53:38 +0000 Subject: *** empty log message *** --- program/steps/mail/func.inc | 6 +++--- program/steps/settings/func.inc | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'program/steps') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 2109bed3a..d53b8b0c3 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -427,13 +427,13 @@ function rcmail_print_body($part, $safe=FALSE, $plain=FALSE) // $body, $ctype_pr $url_chars_within = '\?\.~,!'; $convert_patterns[] = "/([\w]+):\/\/([a-z0-9\-\.]+[a-z]{2,4}([$url_chars$url_chars_within]*[$url_chars])?)/ie"; - $convert_replaces[] = "rcmail_str_replacement('\\1://\\2', &\$replace_strings)"; + $convert_replaces[] = "rcmail_str_replacement('\\1://\\2', \$replace_strings)"; $convert_patterns[] = "/([^\/:]|\s)(www\.)([a-z0-9\-]{2,}[a-z]{2,4}([$url_chars$url_chars_within]*[$url_chars])?)/ie"; - $convert_replaces[] = "rcmail_str_replacement('\\1\\2\\3', &\$replace_strings)"; + $convert_replaces[] = "rcmail_str_replacement('\\1\\2\\3', \$replace_strings)"; $convert_patterns[] = '/([a-z0-9][a-z0-9\-\.\+\_]*@[a-z0-9]([a-z0-9\-][.]?)*[a-z0-9]\\.[a-z]{2,5})/ie'; - $convert_replaces[] = "rcmail_str_replacement('\\1', &\$replace_strings)"; + $convert_replaces[] = "rcmail_str_replacement('\\1', \$replace_strings)"; $body = wordwrap(trim($body), 80); $body = preg_replace($convert_patterns, $convert_replaces, $body); diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 826717fd9..c48f41c90 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -51,8 +51,13 @@ function rcmail_user_prefs_form($attrib) // show language selection $field_id = 'rcmfd_lang'; $select_lang = new select(array('name' => '_language', 'id' => $field_id)); - $select_lang->add('English', 'en'); + // $select_lang->add('Czech', 'cs'); + $select_lang->add('Dansk', 'da'); $select_lang->add('Deutsch', 'de'); + $select_lang->add('English', 'en'); + $select_lang->add('Espanol', 'es'); + $select_lang->add('Fran¨ais', 'fr'); + $select_lang->add('Italiano', 'it'); $out .= sprintf("%s\n", $field_id, -- cgit v1.2.3