1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 14:11:32 +00:00

mobile: fix headline ordering

mobile: fix htmlpurifier cache being included from wrong directory
mobile: implement ability to mark article as unread (closes #367)
This commit is contained in:
Andrew Dolgov
2011-09-09 14:24:14 +04:00
parent 97e5dbb2e7
commit b9fca8678b
4 changed files with 41 additions and 4 deletions

View File

@@ -339,7 +339,7 @@
$qfh_ret = queryFeedHeadlines($link, $feed_id, $limit,
$view_mode, $is_cat, $search, $search_mode, $match_on,
"unread DESC, updated, score", $offset);
"score DESC, date_entered DESC", $offset);
$result = $qfh_ret[0];
$feed_title = $qfh_ret[1];
@@ -523,6 +523,12 @@
<div class=\"toggle\" onclick=\"togglePublished($id, this)\" toggled=\"$is_published\"><span class=\"thumb\"></span><span class=\"toggleOn\">ON</span><span class=\"toggleOff\">OFF</span></div>
</div>";
print "<div class=\"row\">
<label>Unread</label>
<div class=\"toggle\" onclick=\"toggleUnread($id, this)\" toggled=\"$is_unread\"><span class=\"thumb\"></span><span class=\"toggleOn\">ON</span><span class=\"toggleOff\">OFF</span></div>
</div>";
print "</fieldset>";
print "</div>";