Skip to content

Commit

Permalink
refs #1604 : modified : recent guestbook now works correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 25, 2012
1 parent d5144be commit e4c569c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/i/comment/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
?>
<div id="comment_<?php echo time();?>" title="<?php echo _text('최근 댓글');?>" selected="false">
<?php
printMobileRecentCommentView($page);
list($comments, $paging) = printMobileRecentCommentView($page);
printMobileNavigation($entry, false, false, $paging, 'comment');
?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion interface/i/guestbook/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
?>
<div id="guestbook_<?php echo time();?>" title="<?php echo _text('방명록');?>" selected="false">
<?php
printMobileGuestbookView($page);
list($comments, $paging) = printMobileGuestbookView($page);
printMobileNavigation(0, false, false, $paging, 'guestbook');
?>
</div>
Expand Down
1 change: 1 addition & 0 deletions library/view/iphoneView.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ function printMobileCommentView($entryId, $page = null, $mode = null) {
if($mode != 'recent') {
printMobileCommentFormView($entryId, ($entryId == 0 ? _text('방명록 쓰기') : _text('댓글 쓰기')), 'comment');
}
return array($comments, $paging);
}

function printMobileGuestbookView($page) {
Expand Down

0 comments on commit e4c569c

Please sign in to comment.