diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backend.php b/backend.php index 6bc6ab9df..fc973edb8 100644 --- a/backend.php +++ b/backend.php @@ -52,7 +52,19 @@ print "<tr class=\"$class\" id=\"FEEDR-$feed_id\">"; + $icon_file = ICONS_DIR . "/$feed_id.ico"; + + if (file_exists($icon_file) && filesize($icon_file) > 0) { + $feed_icon = "<img width=\"16\" height=\"16\" + src=\"" . ICONS_URL . "/$feed_id.ico\">"; + } else { + $feed_icon = " "; + } + $feed = "<a href=\"javascript:viewfeed($feed_id, 0);\">$feed</a>"; + if (ENABLE_FEED_ICONS) { + print "<td>$feed_icon</td>"; + } print "<td id=\"FEEDN-$feed_id\">$feed</td>"; print "<td>"; print "<span id=\"FEEDU-$feed_id\">$unread</span> / "; |