Added a "title" attribute in the link to an article.

Added a "title" attribute in the link to an article.
Makes TTRSS more usable on a small windows, allowing to see the complete title of an article in the tooltip, without opening the article.
This commit is contained in:
Matthieu Sarter 2015-03-21 14:49:38 +01:00
parent 755869ffbc
commit 469d9ad16a

View file

@ -580,6 +580,7 @@ class Feeds extends Handler_Protected {
onclick=\"return cdmClicked(event, $id);\" onclick=\"return cdmClicked(event, $id);\"
class=\"titleWrap $hlc_suffix\"> class=\"titleWrap $hlc_suffix\">
<a class=\"title $hlc_suffix\" <a class=\"title $hlc_suffix\"
title=\"".htmlspecialchars($line["title"])."\"
target=\"_blank\" href=\"". target=\"_blank\" href=\"".
htmlspecialchars($line["link"])."\">". htmlspecialchars($line["link"])."\">".
$line["title"] . $line["title"] .