From 13ad91024c057611f66f6599d4ed0bef5ff939fb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Aug 2005 07:57:51 +0100 Subject: more piggies! I demand MORE piggies!!! --- backend.php | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index fc973edb8..2f88e815e 100644 --- a/backend.php +++ b/backend.php @@ -40,6 +40,8 @@ $feed = $line["title"]; $feed_id = $line["id"]; + + $subop = $_GET["subop"]; $total = $line["total"]; $unread = $line["unread"]; @@ -53,14 +55,20 @@ print ""; $icon_file = ICONS_DIR . "/$feed_id.ico"; - - if (file_exists($icon_file) && filesize($icon_file) > 0) { - $feed_icon = ""; + + if ($subop != "piggie") { + + if (file_exists($icon_file) && filesize($icon_file) > 0) { + $feed_icon = ""; + } else { + $feed_icon = " "; + } } else { - $feed_icon = " "; + $feed_icon = ""; } - + $feed = "$feed"; if (ENABLE_FEED_ICONS) { print "$feed_icon"; -- cgit v1.2.3