1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Reintroduce setting of email subjects from source ... will only be used where an email template doesn't contain an appropriate subject line. Note this may lead to users having email subjects in a language other than that they selected.

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3238 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2002-12-22 16:01:16 +00:00
parent c9f34d9ba3
commit 485f127717
7 changed files with 15 additions and 11 deletions

View File

@@ -468,7 +468,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
$emailer->use_template('user_activate', stripslashes($user_lang));
$emailer->email_address($email);
$emailer->set_subject();//$lang['Reactivate']
$emailer->set_subject($lang['Reactivate']);
$emailer->extra_headers($email_headers);
$emailer->assign_vars(array(
@@ -576,7 +576,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
$emailer->use_template($email_template, stripslashes($user_lang));
$emailer->email_address($email);
$emailer->set_subject();//sprintf($lang['Welcome_subject'], $board_config['sitename'])
$emailer->set_subject(sprintf($lang['Welcome_subject'], $board_config['sitename']));
$emailer->extra_headers($email_headers);
if( $coppa )
@@ -622,7 +622,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
//$emailer->use_template("admin_activate", stripslashes($user_lang));
$emailer->use_template("admin_activate", $board_config['default_lang']);
$emailer->email_address($board_config['board_email']);
$emailer->set_subject(); //$lang['New_account_subject']
$emailer->set_subject($lang['New_account_subject']);
$emailer->extra_headers($email_headers);
$emailer->assign_vars(array(