#\r
# Rueckgabe: Bearbeiteter Text (String)\r
\r
-function &plain(&$text,$linebreak='<br>') {\r
+function plain($text,$linebreak='<br>') {\r
$htmltext = htmlspecialchars($text);\r
$htmltext = preg_replace("/\015\012|\012|\015/",$linebreak,$htmltext);\r
\r
#\r
# Parameter: Fehlermeldung\r
\r
-function show_fatal(&$errmsg,$vars=array()) {\r
+function show_fatal($errmsg,$vars=array()) {\r
global $tpl_fatal;\r
\r
$tpl = new Template;\r
\r
if(sizeof($vars) > 0) {\r
while(list($var,$content) = each($vars)) {\r
- $errmsg = str_replace('{'.htmlspecialchars($var).'}',htmlspecialchars($content),$errmsg);\r
+ $errmsg = str_replace('{'.$var.'}',htmlspecialchars($content),$errmsg);\r
}\r
}\r
\r
#\r
# Parameter: Fehlermeldung\r
\r
-function show_user_error(&$errmsg) {\r
+function show_user_error($errmsg) {\r
global $captcha_enable, $email, $name, $subject, $text, $user_fields, $tpl_user_error;\r
\r
$tpl = new Template;\r