]> git.wh0rd.org Git - tt-rss.git/commitdiff
Added a "title" attribute in the link to an article.
authorMatthieu Sarter <MatthieuSarter@users.noreply.github.com>
Sat, 21 Mar 2015 13:49:38 +0000 (14:49 +0100)
committerMatthieu Sarter <MatthieuSarter@users.noreply.github.com>
Sat, 21 Mar 2015 13:49:38 +0000 (14:49 +0100)
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.

classes/feeds.php

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