1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-12 04:36:32 +02:00

Missed a couple of config name changes

git-svn-id: file:///svn/phpbb/trunk@1024 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-09-10 16:20:40 +00:00
parent 73f10b93b3
commit 08cb824e37
2 changed files with 21 additions and 21 deletions

View File

@ -751,10 +751,10 @@ if( ( $submit || $confirm ) && !$error )
{ {
if( $email_set[$i]['user_email'] != "") if( $email_set[$i]['user_email'] != "")
{ {
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n"; $email_headers = "From: " . $board_config['email_from'] . "\nReturn-Path: " . $board_config['email_from'] . "\r\n";
$emailer->use_template("topic_notify"); $emailer->use_template("topic_notify");
$emailer->email_address($email_set[$i]['user_email']); $emailer->email_address($email_set[$i]['email_from']);
$emailer->set_subject($lang['Topic_reply_notification']); $emailer->set_subject($lang['Topic_reply_notification']);
$emailer->extra_headers($email_headers); $emailer->extra_headers($email_headers);
@ -766,7 +766,7 @@ if( ( $submit || $confirm ) && !$error )
"TOPIC_TITLE" => $email_set[$i]['topic_title'], "TOPIC_TITLE" => $email_set[$i]['topic_title'],
"TOPIC_URL" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/viewtopic.$phpEx?" . POST_POST_URL . "=$new_post_id#$new_post_id", "TOPIC_URL" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/viewtopic.$phpEx?" . POST_POST_URL . "=$new_post_id#$new_post_id",
"UN_WATCH_URL" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/viewtopic.$phpEx?" . POST_TOPIC_URL . "=$new_topic_id&unwatch=topic", "UN_WATCH_URL" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/viewtopic.$phpEx?" . POST_TOPIC_URL . "=$new_topic_id&unwatch=topic",
"EMAIL_SIG" => $board_config['email_sig']) "EMAIL_SIG" => $board_config['board_email'])
); );
$emailer->send(); $emailer->send();

View File

@ -757,7 +757,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
// //
// The users account has been deactivated, send them an email with a new activation key // The users account has been deactivated, send them an email with a new activation key
// //
$email_headers = "From: " . $board_config['board_email'] . "\r\n"; $email_headers = "From: " . $board_config['email_from'] . "\r\n";
$path = (dirname($HTTP_SERVER_VARS['REQUEST_URI']) == "/") ? "" : dirname($HTTP_SERVER_VARS['REQUEST_URI']); $path = (dirname($HTTP_SERVER_VARS['REQUEST_URI']) == "/") ? "" : dirname($HTTP_SERVER_VARS['REQUEST_URI']);
@ -771,7 +771,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"USERNAME" => $username, "USERNAME" => $username,
"EMAIL_SIG" => $board_config['board_email'], "EMAIL_SIG" => $board_config['board_email'],
"U_ACTIVATE" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/profile.$phpEx?mode=activate&act_key=$user_actkey") "U_ACTIVATE" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/profile.$phpEx?mode=activate&act_key=$act_key")
); );
$emailer->send(); $emailer->send();
$emailer->reset(); $emailer->reset();
@ -800,8 +800,8 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
if($board_config['require_activation'] || $coppa == 1) if($board_config['require_activation'] || $coppa == 1)
{ {
$act_key = generate_activation_key(); $user_actkey = generate_activation_key();
$sql .= "0, '$act_key')"; $sql .= "0, '$user_actkey')";
} }
else else
{ {
@ -836,7 +836,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
if(!$coppa) if(!$coppa)
{ {
$email_headers = "From: " . $board_config['board_email'] . "\r\n"; $email_headers = "From: " . $board_config['email_from'] . "\r\n";
$path = (dirname($HTTP_SERVER_VARS['REQUEST_URI']) == "/") ? "" : dirname($HTTP_SERVER_VARS['REQUEST_URI']); $path = (dirname($HTTP_SERVER_VARS['REQUEST_URI']) == "/") ? "" : dirname($HTTP_SERVER_VARS['REQUEST_URI']);
@ -980,17 +980,17 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
$template->assign_var_from_handle("JUMPBOX", "jumpbox"); $template->assign_var_from_handle("JUMPBOX", "jumpbox");
$template->assign_vars(array( $template->assign_vars(array(
"USERNAME" => stripslashes($username), "USERNAME" => $username,
"EMAIL" => stripslashes($email), "EMAIL" => $email,
"YIM" => stripslashes($yim), "YIM" => $yim,
"ICQ" => stripslashes($icq), "ICQ" => $icq,
"MSN" => stripslashes($msn), "MSN" => $msn,
"AIM" => stripslashes($aim), "AIM" => $aim,
"OCCUPATION" => stripslashes($occupation), "OCCUPATION" => $occupation,
"INTERESTS" => stripslashes($interests), "INTERESTS" => $interests,
"LOCATION" => stripslashes($location), "LOCATION" => $location,
"WEBSITE" => stripslashes($website), "WEBSITE" => $website,
"SIGNATURE" => stripslashes(str_replace("<br />", "\n", $signature)), "SIGNATURE" => str_replace("<br />", "\n", $signature),
"VIEW_EMAIL_YES" => ($viewemail) ? "checked=\"checked\"" : "", "VIEW_EMAIL_YES" => ($viewemail) ? "checked=\"checked\"" : "",
"VIEW_EMAIL_NO" => (!$viewemail) ? "checked=\"checked\"" : "", "VIEW_EMAIL_NO" => (!$viewemail) ? "checked=\"checked\"" : "",
"HIDE_USER_YES" => (!$allowviewonline) ? "checked=\"checked\"" : "", "HIDE_USER_YES" => (!$allowviewonline) ? "checked=\"checked\"" : "",
@ -1010,10 +1010,10 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
"ALLOW_AVATAR" => $board_config['allow_avatar_upload'], "ALLOW_AVATAR" => $board_config['allow_avatar_upload'],
"AVATAR" => $avatar_img, "AVATAR" => $avatar_img,
"AVATAR_SIZE" => $board_config['avatar_filesize'], "AVATAR_SIZE" => $board_config['avatar_filesize'],
"LANGUAGE_SELECT" => language_select(stripslashes($user_lang), 'language'), "LANGUAGE_SELECT" => language_select($user_lang, 'language'),
"STYLE_SELECT" => style_select($user_template, $user_theme, 'style'), "STYLE_SELECT" => style_select($user_template, $user_theme, 'style'),
"TIMEZONE_SELECT" => tz_select($user_timezone, 'timezone'), "TIMEZONE_SELECT" => tz_select($user_timezone, 'timezone'),
"DATE_FORMAT" => stripslashes($user_dateformat), "DATE_FORMAT" => $user_dateformat,
"HTML_STATUS" => $html_status, "HTML_STATUS" => $html_status,
"BBCODE_STATUS" => $bbcode_status, "BBCODE_STATUS" => $bbcode_status,
"SMILIES_STATUS" => $smilies_status, "SMILIES_STATUS" => $smilies_status,