зеркало из https://github.com/mozilla/pjs.git
Fix spacing in the ugly e-mails. I want these changed to text/plain! :(
This commit is contained in:
Родитель
7af6e3a6d9
Коммит
9aed7c6843
|
@ -32,11 +32,11 @@ class MailComponent extends Object {
|
|||
if (array_key_exists('type', $params)) {
|
||||
switch($params['type']) {
|
||||
case "act":
|
||||
$this->message = $this->head."<br/>\nThank you for registering! To activate your account <a href=\"".$params['link']."\">click here</a>, or paste the link below into your browser<br/>".$params['link'].$this->foot;
|
||||
$this->message = $this->head."<br/>\nThank you for registering! To activate your account, <a href=\"".$params['link']."\">click here</a> or paste the link below into your browser:<br/> ".$params['link'].$this->foot;
|
||||
break;
|
||||
|
||||
case "prec":
|
||||
$this->message = $this->head."<br/>\nTo reset your password <a href=\"".$params['link']."\">click here</a>, or paste the link below into your browser<br/>".$params['link'].$this->foot;
|
||||
$this->message = $this->head."<br/>\nTo reset your password, <a href=\"".$params['link']."\">click here</a> or paste the link below into your browser:<br/> ".$params['link'].$this->foot;
|
||||
break;
|
||||
|
||||
case "invite":
|
||||
|
@ -76,4 +76,4 @@ class MailComponent extends Object {
|
|||
mail($this->to, $this->subject, $this->message, $this->make_headers(), $this->make_additional_parameters());
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Загрузка…
Ссылка в новой задаче