diff --git a/interface/i/guestbook/index.php b/interface/i/guestbook/index.php index 393a6c2c6..8e573b2b1 100644 --- a/interface/i/guestbook/index.php +++ b/interface/i/guestbook/index.php @@ -5,14 +5,16 @@ define('__TEXTCUBE_IPHONE__', true); require ROOT . '/library/preprocessor.php'; requireView('iphoneView'); +if(isset($suri['id'])) $page = $suri['id']; +else $page = 1; ?>
diff --git a/library/view/iphoneView.php b/library/view/iphoneView.php index 4c50a949b..ad63adf5d 100644 --- a/library/view/iphoneView.php +++ b/library/view/iphoneView.php @@ -363,22 +363,27 @@ function printIphoneHtmlFooter() { function printIphoneNavigation($entry, $jumpToComment = true, $jumpToTrackback = true, $paging = null) { global $suri, $blogURL; + if($entry == 0) { + $mode = 'guestbook'; + } else { + $mode = 'entry'; + } ?>