Skip to content

Commit

Permalink
refs #1249
Browse files Browse the repository at this point in the history
  * 검색 결과 부분의 인터페이스 수정
  * TODO : 검색어 입력시 유니코드 문자열이 전송되고 있음.
  • Loading branch information
inureyes committed Nov 25, 2009
1 parent 0d4d8eb commit 904501d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions interface/i/search/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
define('__TEXTCUBE_IPHONE__', true);
require ROOT . '/library/preprocessor.php';
requireView('iphoneView');
if (false) {
fetchConfigVal();
}

$search = isset($_GET['search']) ? $_GET['search'] : $suri['value'];
$search = isset($_GET['q']) ? $_GET['q'] : $search; // Consider the common search query GET name. (for compatibility)
if(strlen($search) > 0 && !empty($suri['page'])) {
Expand All @@ -16,11 +14,11 @@
$list = array('title' => $search, 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']);
$paging = $listWithPaging[1];
?>
<ul class="search" id="search_<?php echo $suri['page'];?>" title="Search List" selected="false">
<ul class="search" id="search_<?php echo $suri['page'];?>" title="<?php echo _text('검색 결과');?>" selected="false">
<?php
$itemsView .= '<li class="group">'.CRLF;
$itemsView .= ' <span class="left">Search List ('.$list['count'].')</span>'.CRLF;
$itemsView .= ' <span class="right">Page <span class="now_page">' . $paging['page'] . '</span> / '.$paging['pages'].'</span>'.CRLF;
$itemsView .= ' <span class="left">'._text('검색 결과').'('.$list['count'].')</span>'.CRLF;
$itemsView .= ' <span class="right">'._text('페이지').'<span class="now_page">' . $paging['page'] . '</span> / '.$paging['pages'].'</span>'.CRLF;
$itemsView .= '</li>'.CRLF;
foreach ($list['items'] as $item) {
$author = User::getName($item['userid']);
Expand Down

0 comments on commit 904501d

Please # to comment.