openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c6d04f645c1ab57de41bbb01a8d03c902c2f99f1
parent fc9198cfa55e8d8f017e871cb9c661b341dc6540
Author: dankert <devnull@localhost>
Date:   Sat, 13 Jan 2007 01:55:37 +0100

Einf?gen von Zeilenumbr?chen

Diffstat:
serviceClasses/Mail.class.php | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/serviceClasses/Mail.class.php b/serviceClasses/Mail.class.php @@ -29,15 +29,16 @@ class Mail $this->subject = lang( 'mail_subject_'.$text ); $this->to = $to; - $this->text = wordwrap(lang('mail_text_'.$text),70,$this->nl); + $this->text = $this->nl.wordwrap(str_replace(';',$this->nl,lang('mail_text_'.$text)),70,$this->nl).$this->nl; // Signatur anhaengen (sofern konfiguriert) if ( !empty($conf['mail']['signature']) ) { - $this->text .= $this->nl.$this->nl.'-- '.$this->nl; + $this->text .= $this->nl.'-- '.$this->nl; $this->text .= str_replace(';',$this->nl,$conf['mail']['signature']); + $this->text .= $this->nl; } - + // Kopie-Empfänger if ( !empty($conf['mail']['cc']) ) $this->bcc = $conf['mail']['cc'];