Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-01-16 10:15:57 +09:00

View File

@ -176,14 +176,20 @@ if ($sw == "move")
} }
$msg = '해당 게시물을 선택한 게시판으로 '.$act.' 하였습니다.'; $msg = '해당 게시물을 선택한 게시판으로 '.$act.' 하였습니다.';
$opener_href = './board.php?bo_table='.$bo_table.'&page='.$page.'&$qstr'; $opener_href = './board.php?bo_table='.$bo_table.'&page='.$page.'&'.$qstr;
echo <<<HEREDOC echo <<<HEREDOC
<meta http-equiv='content-type' content='text/html; charset={$g4['charset']}'> <meta http-equiv="content-type" content="text/html; charset={$g4['charset']}">
<script> <script>
alert("{$msg}"); alert("$msg");
opener.document.location.href = "{$opener_href}"; opener.document.location.href = "$opener_href";
window.close(); window.close();
</script> </script>
<noscript>
<p>
"$msg"
</p>
<a href="$opener_href">돌아가기</a>
</noscript>
HEREDOC; HEREDOC;
?> ?>