Skip to content

Commit

Permalink
refs #1249
Browse files Browse the repository at this point in the history
  * 검색 안되는 부분 수정 (iUI 관련)
  * 검색시 언어 리소스 부분 보정
  • Loading branch information
inureyes committed Nov 25, 2009
1 parent 904501d commit 4589685
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions interface/i/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="toolbar">
<h1 id="pageTitle"><?php echo htmlspecialchars($blog['title']);?> Blog</h1>
<a id="backButton" class="button" href="#"></a>
<a class="button" href="#searchForm" id="searchButton" onclick="searchAction(true);">Search</a>
<a class="button" href="#searchForm" id="searchButton" onclick="searchAction(true);"><?php echo _text('검색');?></a>
</div>
<div class="toolbar shortcut">
<ul>
Expand Down Expand Up @@ -85,9 +85,9 @@

<form id="searchForm" method="GET" class="dialog snug editorBar" action="<?php echo $blogURL;?>/search">
<fieldset>
<h1>Post Search</h1>
<a class="button leftButton" type="cancel" onclick="searchAction(false);">Cancel</a>
<a class="button blueButton" type="submit">Search</a>
<h1><?php echo _text('글 검색');?></h1>
<a class="button leftButton" type="cancel" onclick="searchAction(false);"><?php echo _text('취소');?></a>
<a class="button blueButton" type="submit"><?php echo _text('검색');?></a>

<div class="searchIcon"></div>
<img id="clearButton" class="clearButton" src="<?php echo $service['path'];?>/resources/image/spacer.gif" onclick="cancelAction(this);" />
Expand Down
2 changes: 1 addition & 1 deletion interface/i/search/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<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">'._text('검색 결과').'('.$list['count'].')</span>'.CRLF;
$itemsView .= ' <span class="left">'.htmlspecialchars($search).' '._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) {
Expand Down
3 changes: 2 additions & 1 deletion resources/script/iphone/iphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ function preloadImages()
function submitForm(form)
{
iui.showPageByHref(form.action || "POST", encodeForm(form), form.method);
closeKeypad();
}

function encodeForm(form)
Expand All @@ -470,7 +471,7 @@ function encodeForm(form)
for (var i = 0; i < inputs.length; ++i)
{
if (inputs[i].name)
args.push(inputs[i].name + "=" + escape(inputs[i].value));
args.push(inputs[i].name + "=" + looseURIEncode(inputs[i].value));
}
}

Expand Down

0 comments on commit 4589685

Please # to comment.