mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 13:01:31 +00:00
remove processing of ttrss_feeds.icon_url
This commit is contained in:
@@ -2852,7 +2852,6 @@
|
||||
|
||||
$result = db_query($link, "SELECT id,title,link,content,feed_id,comments,int_id,
|
||||
".SUBSTRING_FOR_DATE."(updated,1,16) as updated,
|
||||
(SELECT icon_url FROM ttrss_feeds WHERE id = feed_id) as icon_url,
|
||||
(SELECT site_url FROM ttrss_feeds WHERE id = feed_id) as site_url,
|
||||
num_comments,
|
||||
tag_cache,
|
||||
@@ -2867,12 +2866,6 @@
|
||||
|
||||
$line = db_fetch_assoc($result);
|
||||
|
||||
if ($line["icon_url"]) {
|
||||
$feed_icon = "<img src=\"" . $line["icon_url"] . "\">";
|
||||
} else {
|
||||
$feed_icon = " ";
|
||||
}
|
||||
|
||||
$feed_site_url = $line['site_url'];
|
||||
|
||||
$num_comments = $line["num_comments"];
|
||||
@@ -3012,11 +3005,6 @@
|
||||
}
|
||||
$rv['content'] .= "</div>";
|
||||
|
||||
$rv['content'] .= "<div class=\"postIcon\">" .
|
||||
"<a target=\"_blank\" title=\"".__("Visit the website")."\"$
|
||||
href=\"".htmlspecialchars($feed_site_url)."\">".
|
||||
$feed_icon . "</a></div>";
|
||||
|
||||
$rv['content'] .= "<div class=\"postContent\">";
|
||||
|
||||
// N-grams
|
||||
|
||||
Reference in New Issue
Block a user