diff --git a/mobile/functions.php b/mobile/functions.php index 51809c77f..2850aff70 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -1,7 +1,37 @@ + function render_feeds_select_list($link) { + + $owner_uid = $_SESSION["uid"]; + + if (GLOBAL_ENABLE_LABELS && get_pref($link, 'ENABLE_LABELS')) { + + $result = db_query($link, "SELECT id,sql_exp,description FROM + ttrss_labels WHERE owner_uid = '$owner_uid' ORDER by description"); + + while ($line = db_fetch_assoc($result)) { + print ""; + } + } + + $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) { + print "
"; + + print "$marked_pic | "; + print "$content_link"; if ($line["feed_title"]) { @@ -596,9 +629,7 @@ print " | $marked_pic"; - - print "
" . $line["title"] . + "$entry_author | "; + + $parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'), + strtotime($line["updated"])); + + print "$parsed_updated | "; + + print "
+ $entry_comments | +$tags_str |