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:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user