Index: trunk/phase3/includes/specials/SpecialEmailuser.php |
— | — | @@ -148,7 +148,8 @@ |
149 | 149 | $from = new MailAddress( $wgUser ); |
150 | 150 | $subject = $this->subject; |
151 | 151 | |
152 | | - $prefsTitle = Title::newFromText( 'Preferences', NS_SPECIAL ); |
| 152 | + // Add a standard footer |
| 153 | + $this->text = $this->text . "\n ---- \n" . wfMsgForContent( 'emailuserfooter', array( $from->name, $to->name ) ); |
153 | 154 | |
154 | 155 | if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) { |
155 | 156 | |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2038,6 +2038,7 @@ |
2039 | 2039 | 'emailccsubject' => 'Copy of your message to $1: $2', |
2040 | 2040 | 'emailsent' => 'E-mail sent', |
2041 | 2041 | 'emailsenttext' => 'Your e-mail message has been sent.', |
| 2042 | +'emailuserfooter' => 'This e-mail was sent by $1 to $2 by the "Email user" function at {{SITENAME}}.', |
2042 | 2043 | |
2043 | 2044 | # Watchlist |
2044 | 2045 | 'watchlist' => 'My watchlist', |