mobile: implement flat list browsing mode

This commit is contained in:
Andrew Dolgov
2009-12-18 11:47:47 +03:00
parent 706fe94907
commit b1bd222cd5
3 changed files with 75 additions and 7 deletions

View File

@@ -67,8 +67,16 @@
<a id="myBackButton" class="button" href="#"></a>
<a class="button" target="_self" href="logout.php">Logout</a>
</div>
<?php render_categories_list($link); ?>
<?php
$use_cats = get_pref($link, 'ENABLE_FEED_CATS');
if ($use_cats) {
render_categories_list($link);
} else {
render_flat_feed_list($link);
}
?>
</body>
</html>