Changeset 5588 for trunk/interface/owner/entry/comment/index.php
- Timestamp:
- 03/10/08 22:55:00 (10 months ago)
- Files:
-
- 1 modified
-
trunk/interface/owner/entry/comment/index.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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">
