mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-01 01:09:15 +00:00
combined mode improvements (add toggle read link, set post as read when link is clicked)
This commit is contained in:
17
backend.php
17
backend.php
@@ -1148,9 +1148,14 @@
|
||||
|
||||
print "<div class=\"cdmHeader\">";
|
||||
|
||||
print "<div style=\"float : right\">$updated_fmt</div>";
|
||||
print "<div style=\"float : right\">$updated_fmt,
|
||||
<a class=\"cdmToggleLink\"
|
||||
href=\"javascript:toggleUnread($id)\">Toggle unread</a>
|
||||
</div>";
|
||||
|
||||
print "<a target=\"new\" href=\"".$line["link"]."\">".$line["title"]."</a>";
|
||||
print "<a class=\"title\"
|
||||
onclick=\"javascript:toggleUnread($id, 0)\"
|
||||
target=\"new\" href=\"".$line["link"]."\">".$line["title"]."</a>";
|
||||
|
||||
if ($line["feed_title"]) {
|
||||
print " (<a href='javascript:viewfeed($feed_id)'>".$line["feed_title"]."</a>)";
|
||||
@@ -1159,12 +1164,16 @@
|
||||
print "</div>";
|
||||
|
||||
print "<div class=\"cdmContent\">" . $line["content_preview"] . "</div>";
|
||||
|
||||
|
||||
print "<div style=\"float : right\">$marked_pic</div>
|
||||
<div class=\"cdmFooter\">
|
||||
<div lass=\"cdmFooter\">
|
||||
<input type=\"checkbox\" onclick=\"toggleSelectRowById(this,
|
||||
'RROW-$id')\" class=\"feedCheckBox\" id=\"RCHK-$id\"></div>";
|
||||
|
||||
# print "<div align=\"center\"><a class=\"cdmToggleLink\"
|
||||
# href=\"javascript:toggleUnread($id)\">
|
||||
# Toggle unread</a></div>";
|
||||
|
||||
print "</div>";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user