charset 을 utf-8 로 고정

This commit is contained in:
gnuboard
2013-07-29 16:28:54 +09:00
parent 69d6d40ee2
commit cb8c73db5d
3 changed files with 2 additions and 18 deletions

View File

@ -34,7 +34,7 @@ if ($type == 2) {
// html 이면
if ($type) {
$current_url = G4_URL;
$mail_content = '<!doctype html><html lang="ko"><head><meta charset="'.$g4['charset'].'"><title>메일보내기</title><link rel="stylesheet" href="'.$current_url.'/style.css"></head><body>'.$content.'</body></html>';
$mail_content = '<!doctype html><html lang="ko"><head><meta charset="utf-8"><title>메일보내기</title><link rel="stylesheet" href="'.$current_url.'/style.css"></head><body>'.$content.'</body></html>';
}
else
$mail_content = $content;

View File

@ -182,7 +182,7 @@ $msg = '해당 게시물을 선택한 게시판으로 '.$act.' 하였습니다.'
$opener_href = './board.php?bo_table='.$bo_table.'&amp;page='.$page.'&amp;'.$qstr;
echo <<<HEREDOC
<meta http-equiv="content-type" content="text/html; charset={$g4['charset']}">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script>
alert("$msg");
opener.document.location.href = "$opener_href";

View File

@ -361,22 +361,6 @@ if ($w == "") {
alert('회원 정보가 수정 되었습니다.\n\nE-mail 주소가 변경되었으므로 다시 인증하셔야 합니다.', G4_URL);
} else {
alert('회원 정보가 수정 되었습니다.', G4_URL);
/*
echo '
<html><title>회원정보수정</title><meta http-equiv="Content-Type" content="text/html; charset=$g4[charset]"></html><body>
<form name="fregisterupdate" method="post" action="'.$g4['bbs_url'].'/register_form.php">
<input type="hidden" name="w" value="u">
<input type="hidden" name="mb_id" value="'.$mb_id.'">
<input type="hidden" name="mb_password" value="'.$tmp_password.'">
<input type="hidden" name="is_update" value="1">
</form>
<script>
alert("회원 정보가 수정 되었습니다.");
document.fregisterupdate.submit();
</script>
</body>
</html>';
*/
}
}
?>