From ad99045e8b08e0ab3f9419fdf0678bf96e5ffefa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Sep 2005 11:48:24 +0100 Subject: [PATCH] updated logo, fix FUPDPIC handling --- backend.php | 14 ++++++++------ images/ttrss_logo.svg | 13 ++++++++----- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/backend.php b/backend.php index 8ddb391a5..de212d645 100644 --- a/backend.php +++ b/backend.php @@ -373,11 +373,16 @@ $class = ($lnum % 2) ? "even" : "odd"; + $id = $line["id"]; + $feed_id = $line["feed_id"]; + if ($line["last_read_ts"] < $line["updated_ts"] && $line["unread"] == "f") { - $update_pic = "\"Updated\""; + $update_pic = "\"Updated\""; ++$num_unread; } else { - $update_pic = "\"Updated\""; + $update_pic = "\"Updated\""; } if ($line["unread"] == "t") { @@ -385,9 +390,6 @@ ++$num_unread; } - $id = $line["id"]; - $feed_id = $line["feed_id"]; - if ($line["marked"] == "t") { $marked_pic = "\"Reset"; @@ -402,7 +404,7 @@ print " - print "$update_pic"; print "