1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 18:25:55 +00:00

js: misc code cleanup, handle ctrl-clicking on postContent

This commit is contained in:
Andrew Dolgov
2010-11-17 12:51:30 +03:00
parent 8624dec2db
commit 6e88da8223
7 changed files with 62 additions and 485 deletions

View File

@@ -4599,7 +4599,9 @@
truncate_string(strip_tags($line['title']), 15) . "</div>";
print "<div class=\"postReply\" id=\"POST-$id\">";
print "<div class=\"postHeader\">";
print "<div
onclick=\"return postClicked(event, $id)\"
class=\"postHeader\">";
$entry_author = $line["author"];
@@ -4613,8 +4615,9 @@
print "<div class=\"postDate$rtl_class\">$parsed_updated</div>";
if ($line["link"]) {
print "<div clear='both'><a target='_blank' href=\"" . $line["link"] . "\">" .
$line["title"] . "</a><span class='author'>$entry_author</span></div>";
print "<div clear='both'><a target='_blank' href=\"" .
$line["link"] . "\">" .
$line["title"] . "<span class='author'>$entry_author</span></a></div>";
} else {
print "<div clear='both'>" . $line["title"] . "$entry_author</div>";
}