diff options
Diffstat (limited to 'web/lib/acctfuncs.inc.php')
-rw-r--r-- | web/lib/acctfuncs.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 81118e8..abc40c3 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -294,7 +294,7 @@ function process_account_form($TYPE,$A,$U="",$T="",$S="",$E="",$P="",$C="", return; } - $subject = 'Welcome to the Arch User Repository'; + $subject = __('Welcome to the %s', config_get('options', 'branding_longname')); $body = __('Welcome to %s! In order ' . 'to set an initial password ' . 'for your new account, ' . @@ -726,10 +726,10 @@ function send_resetkey($email, $subject, $body) { "?resetkey={$resetkey}"; $headers = "MIME-Version: 1.0\r\n" . "Content-type: text/plain; charset=UTF-8\r\n" . - "Reply-to: noreply@aur.archlinux.org\r\n" . - "From: notify@aur.archlinux.org\r\n" . + "Reply-to: noreply@".config_get('options', 'email_domain')."\r\n" . + "From: notify@".config_get('options', 'email_domain')."\r\n" . "X-Mailer: PHP\r\n" . - "X-MimeOLE: Produced By AUR"; + "X-MimeOLE: Produced By ".config_get('options', 'branding_shortname'); @mail($email, $subject, $body, $headers); } |