댓글 새창 사용 제거

This commit is contained in:
gnuboard
2012-12-28 10:08:03 +09:00
parent 830cefce6a
commit 35e2a0e572
11 changed files with 21 additions and 74 deletions

View File

@ -8,8 +8,6 @@ var char_min = parseInt(<?=$comment_min?>); // 최소
var char_max = parseInt(<?=$comment_max?>); // 최대
</script>
<? if ($cwin==1) { ?><table width=100% cellpadding=10 align=center><tr><td><?}?>
<!-- 코멘트 리스트 -->
<div id="commentContents">
<?
@ -93,7 +91,6 @@ for ($i=0; $i<count($list); $i++) {
<input type=hidden name=stx value='<?=$stx?>'>
<input type=hidden name=spt value='<?=$spt?>'>
<input type=hidden name=page value='<?=$page?>'>
<input type=hidden name=cwin value='<?=$cwin?>'>
<input type=hidden name=is_good value=''>
<table width=100% cellpadding=3 height=156 cellspacing=0 bgcolor="#ffffff" style="border:1px solid #fff; background:url(<?=$board_skin_path?>/img/co_bg.gif) x-repeat;">
@ -315,5 +312,3 @@ function comment_delete(url)
comment_box('', 'c'); // 코멘트 입력폼이 보이도록 처리하기위해서 추가 (root님)
</script>
<? } ?>
<? if($cwin==1) { ?></td><tr></table><p align=center><a href="javascript:window.close();"><img src="<?=$board_skin_path?>/img/btn_close.gif" border="0"></a><br><br><?}?>

View File

@ -1,7 +1,5 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// $cwin 은 댓글 새창일 때
?>
<script>
@ -10,8 +8,6 @@ var char_min = parseInt(<?=$comment_min?>); // 최소
var char_max = parseInt(<?=$comment_max?>); // 최대
</script>
<? if ($cwin==1) { ?><?}?>
<!-- 댓글 리스트 -->
<section id="commentContents">
<h2>댓글</h2>
@ -71,7 +67,6 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="spt" value="<?=$spt?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="cwin" value="<?=$cwin?>">
<input type="hidden" name="is_good" value="">
<div id="comment_write">
@ -278,5 +273,3 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
</script>
<? } ?>
</section>
<? if($cwin==1) { ?><?}?>