Lines Matching refs:text
22 * @param text Text to display.
25 function prepareHTML( $text ) argument
27 $text = str_replace('\n', '<br/>', $text );
29 $text = str_replace('�', 'ä', $text );
30 $text = str_replace('�', 'Ä', $text );
31 $text = str_replace('�', 'ö', $text );
32 $text = str_replace('�', 'Ö', $text );
33 $text = str_replace('�', 'ß', $text );
34 $text = str_replace('�', 'ü', $text );
35 $text = str_replace('�', 'Ü', $text );
36 $text = str_replace('\n', '<br />', $text );
37 return $text;
43 * @param text text to send via mail.
46 function prepareMail( $text ) argument
49 $text = str_replace('�', 'ae', $text );
50 $text = str_replace('�', 'Ae', $text );
51 $text = str_replace('�', 'oe', $text );
52 $text = str_replace('�', 'Oe', $text );
53 $text = str_replace('�', 'ue', $text );
54 $text = str_replace('�', 'Ue', $text );
55 $text = str_replace('\n', '<br />', $text );
56 return $text;