Changeset 6254
- Timestamp:
- 06/11/08 18:27:30 (7 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
interface/owner/communication/trash/trackback/index.php (modified) (5 diffs)
-
lib/model/blog.trash.php (modified) (2 diffs)
-
style/admin/whitedream/communication.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/communication/trash/trackback/index.php
r6070 r6254 9 9 if (isset($_GET['name'])) $_POST['name'] = $_GET['name']; 10 10 if (isset($_GET['ip'])) $_POST['ip'] = $_GET['ip']; 11 if (isset($_GET['site'])) $_POST['site'] = $_GET['site']; 12 if (isset($_GET['url'])) $_POST['url'] = $_GET['url']; 11 13 if (isset($_GET['withSearch'])) $_POST['withSearch'] = $_GET['withSearch']; 12 14 if (isset($_GET['search'])) $_POST['search'] = $_GET['search']; … … 20 22 'category' => array('int', 'default' => 0), 21 23 'site' => array('string', 'default' => ''), 24 'url' => array('url', 'default' => ''), 22 25 'ip' => array('ip', 'default' => ''), 23 26 'withSearch' => array(array('on'), 'mandatory' => false), … … 33 36 $categoryId = empty($_POST['category']) ? 0 : $_POST['category']; 34 37 $site = empty($_POST['site']) ? '' : $_POST['site']; 38 $url = empty($_POST['url']) ? '' : $_POST['url']; 35 39 $ip = empty($_POST['ip']) ? '' : $_POST['ip']; 36 40 $search = empty($_POST['withSearch']) || empty($_POST['search']) ? '' : trim($_POST['search']); … … 48 52 $tabsClass['trash'] = true; 49 53 50 list($trackbacks, $paging) = getTrashTrackbackWithPagingForOwner($blogid, $categoryId, $site, $ ip, $search, $suri['page'], $perPage);54 list($trackbacks, $paging) = getTrashTrackbackWithPagingForOwner($blogid, $categoryId, $site, $url, $ip, $search, $suri['page'], $perPage); 51 55 require ROOT . '/lib/piece/owner/header.php'; 52 56 … … 358 362 } 359 363 ?> 360 <a href="<?php echo $blogURL;?>/owner/communication/trash/trackback? site=<?php echo urlencode(escapeJSInAttribute($trackback['site']));?>" title="<?php echo _t('이 사이트에서 건 글 목록을 보여줍니다.');?>"><?php echo htmlspecialchars($trackback['site']);?></a>364 <a href="<?php echo $blogURL;?>/owner/communication/trash/trackback?url=<?php echo urlencode(escapeJSInAttribute($trackback['url']));?>" title="<?php echo _t('이 사이트에서 건 글 목록을 보여줍니다.');?>"><?php echo htmlspecialchars($trackback['site']);?></a> 361 365 </td> 362 366 <td class="category"> -
trunk/lib/model/blog.trash.php
r6162 r6254 6 6 //require 'common.correctTT.php'; 7 7 8 function getTrashTrackbackWithPagingForOwner($blogid, $category, $site, $ ip, $search, $page, $count) {8 function getTrashTrackbackWithPagingForOwner($blogid, $category, $site, $url, $ip, $search, $page, $count) { 9 9 global $database; 10 10 … … 21 21 $sql .= ' AND t.site = \'' . POD::escapeString($site) . '\''; 22 22 $postfix .= '&site=' . rawurlencode($site); 23 } 24 if (!empty($url)) { 25 $sql .= ' AND t.url = \'' . POD::escapeString($url) . '\''; 26 $postfix .= '&url=' . rawurlencode($url); 23 27 } 24 28 if (!empty($ip)) { -
trunk/style/admin/whitedream/communication.css
r6093 r6254 55 55 { 56 56 text-align : left; 57 } 58 59 table.data-inbox tbody tr td.title span.excerpt 60 { 61 display : block; 62 color : #DDD; 57 63 } 58 64
