diff options
author | Andrew Dolgov <[email protected]> | 2005-09-07 11:48:24 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-09-07 11:48:24 +0100 |
commit | ad99045e8b08e0ab3f9419fdf0678bf96e5ffefa (patch) | |
tree | 53c783ef7aa82efb30c87742b145b5c908276d5c /backend.php | |
parent | f7181e9b61a9e8db422c2c814358995b5a6a72e8 (diff) |
updated logo, fix FUPDPIC handling
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 14 |
1 files changed, 8 insertions, 6 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 = "<img src=\"images/updated.png\" alt=\"Updated\">"; + $update_pic = "<img id='FUPDPIC-$id' src=\"images/updated.png\" + alt=\"Updated\">"; ++$num_unread; } else { - $update_pic = "<img src=\"images/blank_icon.png\" alt=\"Updated\">"; + $update_pic = "<img id='FUPDPIC-$id' src=\"images/blank_icon.png\" + alt=\"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 = "<img id=\"FMARKPIC-$id\" src=\"images/mark_set.png\" alt=\"Reset mark\" onclick='javascript:toggleMark($id, false)'>"; @@ -402,7 +404,7 @@ print "<tr class='$class' id='RROW-$id'"; // onclick=\"javascript:view($id,$feed_id)\"> - print "<td id='FUPDPIC-$id' valign='center' align='center' + print "<td valign='center' align='center' class='headlineUpdateMark'>$update_pic</td>"; print "<td valign='center' align='center' |