1
0
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:
Andrew Dolgov
2006-05-16 14:41:57 +01:00
parent b04de73216
commit 5f51022a73
3 changed files with 60 additions and 5 deletions

View File

@@ -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 "&nbsp;(<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>";
}