From eead4d26944d5e871ac5b712e81713f2b06e31d0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 27 Mar 2006 07:19:20 +0100 Subject: [PATCH] mobile: support tags --- mobile/functions.php | 122 ++++++++++++++++++++++++++++--------------- mobile/mobile.css | 6 +++ 2 files changed, 86 insertions(+), 42 deletions(-) diff --git a/mobile/functions.php b/mobile/functions.php index 89314ad7c..7ffc433db 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -1,33 +1,20 @@ " . $line["description"] . ""; - } - } - - $result = db_query($link, "SELECT id,title - FROM ttrss_feeds WHERE ttrss_feeds.owner_uid = '$owner_uid' - ORDER BY title"); - - while ($line = db_fetch_assoc($result)) { - print ""; - } - - } - - function render_feeds_list($link, $tags = false) { + $tags = $_GET["tags"]; print "
"; - print "My feeds (Logout)"; + + if ($tags) { + print "Tags + (View feeds, "; + } else { + print "Feeds + (View tags, "; + } + + print "Logout)"; print "
"; print "