Skip to content

Commit

Permalink
refs #1249
Browse files Browse the repository at this point in the history
  * 언어 리소스 적용
  * 글목록에서의 타이틀 출력을 의미있도록 수정
  • Loading branch information
inureyes committed Nov 25, 2009
1 parent 07c6286 commit 0d4d8eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions interface/i/entry/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$list = array('title' => (empty($suri['value']) ? getCategoryLabelById($blogid, 0) : $suri['value']), 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']);
$paging = $listWithPaging[1];
?>
<ul class="posts" id="blog_posts_<?php echo $suri['page'];?>" title="Posts" selected="false">
<ul class="posts" id="blog_posts_<?php echo $suri['page'];?>" title="<?php echo _text('글목록');?>" selected="false">
<?php
$itemsView = '<li class="group">'.CRLF;
$itemsView .= ' <span class="left">Post List ('.$list['count'].')</span>'.CRLF;
Expand Down Expand Up @@ -62,7 +62,7 @@
}
$entry = $entries ? $entries[0] : null;
?>
<div id="post_<?php echo $entry['id'];?>" title="View Post <?php echo $entry['id'];?>" class="panel">
<div id="post_<?php echo $entry['id'];?>" title="<?php echo $entry['title'];?>" class="panel">
<div class="entry_info">
<h2><?php echo htmlspecialchars($entry['title']);?></h2>
<h2 class="noBorderLine"><?php echo Timestamp::format5($entry['published']);?></h2>
Expand Down
24 changes: 12 additions & 12 deletions library/view/iphoneView.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,32 +354,32 @@ function printIphoneNavigation($entry, $jumpToComment = true, $jumpToTrackback =
<?php
if (isset($paging['prev'])) {
?>
<li><a href="<?php echo $blogURL;?>/entry/<?php echo $paging['prev'];?>" accesskey="1"><?php echo _text('Show previous post');?></a></li>
<li><a href="<?php echo $blogURL;?>/entry/<?php echo $paging['prev'];?>" accesskey="1"><?php echo _text('이전 글 보기');?></a></li>
<?php
}
if (isset($paging['next'])) {
?>
<li><a href="<?php echo $blogURL;?>/entry/<?php echo $paging['next'];?>" accesskey="2"><?php echo _text('Show next post');?></a></li>
<li><a href="<?php echo $blogURL;?>/entry/<?php echo $paging['next'];?>" accesskey="2"><?php echo _text('다음 글 보기');?></a></li>
<?php
}
if (!isset($paging)) {
?>
<li><a href="<?php echo $blogURL;?>/entry/<?php echo $entry['id'];?>" accesskey="3"><?php echo _text('Show posts');?></a></li>
<li><a href="<?php echo $blogURL;?>/entry/<?php echo $entry['id'];?>" accesskey="3"><?php echo _text('글 보기');?></a></li>
<?php
}
if ($jumpToComment) {
?>
<li><a href="<?php echo $blogURL;?>/comment/<?php echo $entry['id'];?>" accesskey="4"><?php echo _text('Show comment');?> (<?php echo $entry['comments'];?>)</a></li>
<li><a href="<?php echo $blogURL;?>/comment/<?php echo $entry['id'];?>" accesskey="4"><?php echo _text('댓글 보기');?> (<?php echo $entry['comments'];?>)</a></li>
<?php
}
if ($jumpToTrackback) {
?>
<li><a href="<?php echo $blogURL;?>/trackback/<?php echo $entry['id'];?>" accesskey="5"><?php echo _text('Show trackbacks');?> (<?php echo $entry['trackbacks'];?>)</a></li>
<li><a href="<?php echo $blogURL;?>/trackback/<?php echo $entry['id'];?>" accesskey="5"><?php echo _text('트랙백 보기');?> (<?php echo $entry['trackbacks'];?>)</a></li>
<?php
}
if ($suri['directive'] != '/iphone') {
if ($suri['directive'] != '/i') {
?>
<li class="last_no_line"><a href="#" onclick="self.location.reload();" accesskey="6"><?php echo _text('Show front page');?></a></li>
<li class="last_no_line"><a href="#" onclick="self.location.reload();" accesskey="6"><?php echo _text('첫화면으로 돌아가기');?></a></li>
<?php
}
?>
Expand All @@ -391,7 +391,7 @@ function printIphoneTrackbackView($entryId) {
$trackbacks = getTrackbacks($entryId);
if (count($trackbacks) == 0) {
?>
<p>&nbsp;<?php echo _text('No trackback');?></p>
<p>&nbsp;<?php echo _text('트랙백이 없습니다');?></p>
<?php
} else {
foreach (getTrackbacks($entryId) as $trackback) {
Expand All @@ -418,7 +418,7 @@ function printIphoneCommentView($entryId) {
$comments = getComments($entryId);
if (count($comments) == 0) {
?>
<p>&nbsp;<?php echo _text('Comments does not exist');?></p>
<p>&nbsp;<?php echo _text('댓글이 없습니다');?></p>
<?php
} else {
foreach ($comments as $commentItem) {
Expand All @@ -430,8 +430,8 @@ function printIphoneCommentView($entryId) {
(<?php echo Timestamp::format5($commentItem['written']);?>)
</span>
<span class="right">
<a href="<?php echo $blogURL;?>/comment/comment/<?php echo $commentItem['id'];?>">RE</a> :
<a href="<?php echo $blogURL;?>/comment/delete/<?php echo $commentItem['id'];?>">DEL</a>
<a href="<?php echo $blogURL;?>/comment/comment/<?php echo $commentItem['id'];?>"><?php echo _text('댓글에 댓글 달기');?></a> :
<a href="<?php echo $blogURL;?>/comment/delete/<?php echo $commentItem['id'];?>"><?php echo _text('지우기');?></a>
</span>
</li>
<li class="body">
Expand Down Expand Up @@ -510,7 +510,7 @@ function printIphoneErrorPage($messageTitle, $messageBody, $redirectURL) {
<div class="content">
<?php echo htmlspecialchars($messageBody);?>
</div>
<a href="<?php echo $redirectURL;?>" class="whiteButton margin-top10"><?php echo _text('Go to previous page');?></a>
<a href="<?php echo $redirectURL;?>" class="whiteButton margin-top10"><?php echo _text('이전 페이지로 돌아가기');?></a>
</div>
<?php
}
Expand Down

0 comments on commit 0d4d8eb

Please # to comment.