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

This commit is contained in:
gnuboard
2013-01-18 12:18:48 +09:00
95 changed files with 100 additions and 43 deletions

View File

@ -142,13 +142,21 @@ function alert($msg='', $url='', $error=true)
// 경고메세지 출력후 창을 닫음
function alert_close($msg)
function alert_close($msg, $error=true)
{
global $g4;
/*
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset={$g4['charset']}\">";
echo "<script> alert('$msg'); window.close(); </script>";
exit;
*/
$header = '';
if (isset($g4['title'])) {
$header = $g4['title'];
}
include_once("{$g4['bbs_path']}/alert_close.php");
exit;
}
// confirm 창
@ -362,7 +370,7 @@ function get_list($write_row, $board, $skin_path, $subject_len=40)
if (strlen($reply) > 0)
{
for ($k=0; $k<strlen($reply); $k++)
$list['reply'] .= ' &nbsp;&nbsp; ';
$list['reply'] .= ' ';
}
$list['icon_reply'] = '';