From 78800912937468fc68219b0ae1190edc049282b7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Aug 2005 07:46:24 +0100 Subject: icons in feedlist --- backend.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 6bc6ab9df..fc973edb8 100644 --- a/backend.php +++ b/backend.php @@ -52,7 +52,19 @@ print ""; + $icon_file = ICONS_DIR . "/$feed_id.ico"; + + if (file_exists($icon_file) && filesize($icon_file) > 0) { + $feed_icon = ""; + } else { + $feed_icon = " "; + } + $feed = "$feed"; + if (ENABLE_FEED_ICONS) { + print "$feed_icon"; + } print "$feed"; print ""; print "$unread / "; -- cgit v1.2.3