#365 에 따른 메일 제목에 사이트명 추가 - merge
This commit is contained in:
@ -320,7 +320,7 @@ if ($msg)
|
|||||||
if ($w == "") {
|
if ($w == "") {
|
||||||
goto_url(G4_BBS_URL.'/register_result.php');
|
goto_url(G4_BBS_URL.'/register_result.php');
|
||||||
} else if ($w == 'u') {
|
} else if ($w == 'u') {
|
||||||
$row = sql_fetch(" select mb_password from {$g4['member_table']} where mb_id = '{$member[mb_id]}' ");
|
$row = sql_fetch(" select mb_password from {$g4['member_table']} where mb_id = '{$member['mb_id']}' ");
|
||||||
$tmp_password = $row['mb_password'];
|
$tmp_password = $row['mb_password'];
|
||||||
|
|
||||||
if ($old_email != $mb_email && $config['cf_use_email_certify']) {
|
if ($old_email != $mb_email && $config['cf_use_email_certify']) {
|
||||||
|
|||||||
@ -48,7 +48,7 @@ if (empty($wr['wr_id']))
|
|||||||
// 이 옵션을 사용 안 함으로 설정할 경우 어떤 스크립트도 실행 되지 않습니다.
|
// 이 옵션을 사용 안 함으로 설정할 경우 어떤 스크립트도 실행 되지 않습니다.
|
||||||
//if (!trim($_POST["wr_content"])) die ("내용을 입력하여 주십시오.");
|
//if (!trim($_POST["wr_content"])) die ("내용을 입력하여 주십시오.");
|
||||||
|
|
||||||
if ($member[mb_id])
|
if ($is_member)
|
||||||
{
|
{
|
||||||
$mb_id = $member['mb_id'];
|
$mb_id = $member['mb_id'];
|
||||||
// 4.00.13 - 실명 사용일때 댓글에 별명으로 입력되던 오류를 수정
|
// 4.00.13 - 실명 사용일때 댓글에 별명으로 입력되던 오류를 수정
|
||||||
@ -193,7 +193,7 @@ if ($w == 'c') // 댓글 입력
|
|||||||
$warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'댓글 ', 'cu'=>'댓글 수정' );
|
$warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'댓글 ', 'cu'=>'댓글 수정' );
|
||||||
$str = $warr[$w];
|
$str = $warr[$w];
|
||||||
|
|
||||||
$subject = $board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
|
$subject = '['.$config['cf_title'].'] '.$board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
|
||||||
// 4.00.15 - 메일로 보내는 댓글의 바로가기 링크 수정
|
// 4.00.15 - 메일로 보내는 댓글의 바로가기 링크 수정
|
||||||
$link_url = G4_BBS_URL."/board.php?bo_table=".$bo_table."&wr_id=".$wr_id."&".$qstr."#c_".$comment_id;
|
$link_url = G4_BBS_URL."/board.php?bo_table=".$bo_table."&wr_id=".$wr_id."&".$qstr."#c_".$comment_id;
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ else if ($w == 'cu') // 댓글 수정
|
|||||||
and wr_is_comment = 1 ";
|
and wr_is_comment = 1 ";
|
||||||
$row = sql_fetch($sql);
|
$row = sql_fetch($sql);
|
||||||
if ($row['cnt'] && !$is_admin)
|
if ($row['cnt'] && !$is_admin)
|
||||||
alert('이 댓글와 관련된 답변댓글가 존재하므로 수정 할 수 없습니다.');
|
alert('이 댓글와 관련된 답변댓글이 존재하므로 수정 할 수 없습니다.');
|
||||||
|
|
||||||
$sql_ip = "";
|
$sql_ip = "";
|
||||||
if (!$is_admin)
|
if (!$is_admin)
|
||||||
|
|||||||
@ -562,6 +562,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai
|
|||||||
$str = $warr[$w];
|
$str = $warr[$w];
|
||||||
|
|
||||||
$subject = '['.$config['cf_title'].'] '.$board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
|
$subject = '['.$config['cf_title'].'] '.$board['bo_subject'].' 게시판에 '.$str.'글이 올라왔습니다.';
|
||||||
|
|
||||||
$link_url = G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&'.$qstr;
|
$link_url = G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.'&'.$qstr;
|
||||||
|
|
||||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||||
|
|||||||
Reference in New Issue
Block a user