Changeset 5588
- Timestamp:
- 03/10/08 22:55:00 (7 months ago)
- Location:
- trunk/interface
- Files:
-
- 2 modified
-
comment/comment/index.php (modified) (2 diffs)
-
owner/entry/comment/index.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/comment/comment/index.php
r5557 r5588 77 77 $tempRecentComments = revertTempTags(getRecentCommentsView(getRecentComments($blogid), $skin->recentComments)); 78 78 ?> 79 try { 79 80 var obj = opener.document.getElementById("entry<?php echo $comment['entry'];?>Comment"); 80 81 obj.innerHTML = "<?php echo str_innerHTML($tempComments);?>"; 82 } catch(e) { } 81 83 try { 82 84 obj = opener.document.getElementById("recentComments"); … … 96 98 if (obj != null) obj.innerHTML = "<?php echo str_innerHTML($commentCount);?>"; 97 99 } catch(e) { } 100 try { 101 obj = opener.document.getElementById('list-form'); 102 if(obj != null) opener.document.getElementById('list-form').submit(); 103 } catch(e) { } 98 104 window.close(); 99 105 //]]> -
trunk/interface/owner/entry/comment/index.php
r5285 r5588 17 17 'name' => array('string', 'mandatory' => false), 18 18 'page' => array('int', 1, 'default' => 1), 19 'ip' => array('ip', 'mandatory' => false) ,19 'ip' => array('ip', 'mandatory' => false) 20 20 ), 21 21 'POST' => array( … … 39 39 $ip = isset($_POST['ip']) && !empty($_POST['ip']) ? $_POST['ip'] : $ip; 40 40 $search = empty($_POST['withSearch']) || empty($_POST['search']) ? '' : trim($_POST['search']); 41 $perPage = getBlogSetting('rowsPerPage', 10); 41 $perPage = getBlogSetting('rowsPerPage', 10); 42 42 if (isset($_POST['perPage']) && is_numeric($_POST['perPage'])) { 43 43 $perPage = $_POST['perPage']; … … 203 203 204 204 <form id="list-form" method="post" action="<?php echo $blogURL;?>/owner/entry/comment"> 205 <?php 206 if(isset($_POST['ip'])) echo ' <input type="hidden" name="ip" value="'.$_POST['ip'].'" />'.CRLF; 207 if(isset($_POST['name'])) echo ' <input type="hidden" name="name" value="'.$_POST['name'].'" />'.CRLF; 208 if(isset($_POST['category'])) echo ' <input type="hidden" name="category" value="'.$_POST['category'].'" />'.CRLF; 209 if(isset($_POST['search'])) echo ' <input type="hidden" name="search" value="'.$_POST['search'].'" />'.CRLF; 210 if(isset($_POST['withSearch'])) echo ' <input type="hidden" name="withSearch" value="'.$_POST['withSearch'].'" />'.CRLF; 211 ?> 205 212 <table class="data-inbox" cellspacing="0" cellpadding="0"> 206 213 <thead> … … 281 288 <?php echo ((!empty($comment['title']) || !empty($comment['parent'])) ? '<br />' : '');?> 282 289 <?php echo htmlspecialchars($comment['comment']);?> 290 <?php 291 if(empty($comment['parent'])) echo '<span class="reply"><a href="#" onclick="commentComment('.$comment['id'].');return false;">'._t('이 댓글에 댓글을 씁니다.').'</a></span>'; 292 ?> 283 293 </td> 284 294 <td class="ip">
