diff --git a/mobile/functions.php b/mobile/functions.php index 99afe10c6..fe9dab4ed 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -317,7 +317,16 @@ $subop = $_GET["subop"]; $catchup_op = $_GET["catchup_op"]; - if (!$view_mode) $view_mode = "Adaptive"; + if (!$view_mode) { + if ($_SESSION["mobile:viewmode"]) { + $view_mode = $_SESSION["mobile:viewmode"]; + } else { + $view_mode = "adaptive"; + } + } + + $_SESSION["mobile:viewmode"] = $view_mode; + if (!$limit) $limit = 30; if (!$feed) $feed = 0; @@ -418,12 +427,37 @@ print "Back, "; print "Search, "; print "Update"; + # print "Mark as read: "; # print "Page, "; # print "Feed"; print ")"; - + + print " " . __('View:'); + + print "
"; + print ""; if (db_num_rows($result) > 0) {