reenable UPD support
This commit is contained in:
parent
14ce54af51
commit
c43f77f592
18
backend.php
18
backend.php
|
@ -364,9 +364,6 @@
|
||||||
$id = $line["id"];
|
$id = $line["id"];
|
||||||
$feed_id = $line["feed_id"];
|
$feed_id = $line["feed_id"];
|
||||||
|
|
||||||
// printf("%d %s - %d %s<br>", strtotime($line["last_read"]), $line["last_read"],
|
|
||||||
// strtotime($line["updated"]), $line["updated"]);
|
|
||||||
|
|
||||||
/* if ($line["last_read"] && $line["updated"] &&
|
/* if ($line["last_read"] && $line["updated"] &&
|
||||||
strtotime($line["last_read"]) < strtotime($line["updated"]) &&
|
strtotime($line["last_read"]) < strtotime($line["updated"]) &&
|
||||||
($line["unread"] == "f" || $line["unread"] == "0")) {
|
($line["unread"] == "f" || $line["unread"] == "0")) {
|
||||||
|
@ -379,9 +376,24 @@
|
||||||
alt=\"Updated\">";
|
alt=\"Updated\">";
|
||||||
} */
|
} */
|
||||||
|
|
||||||
|
// printf("L %d (%s) > U %d (%s) = %d<br>",
|
||||||
|
// strtotime($line["last_read"]), $line["last_read"],
|
||||||
|
// strtotime($line["updated"]), $line["updated"],
|
||||||
|
// strtotime($line["last_read"]) >= strtotime($line["updated"]));
|
||||||
|
|
||||||
|
if ($line["last_read"] != "" && $line["updated"] != "" &&
|
||||||
|
strtotime($line["last_read"]) < strtotime($line["updated"])) {
|
||||||
|
|
||||||
|
$update_pic = "<img id='FUPDPIC-$id' src=\"images/updated.png\"
|
||||||
|
alt=\"Updated\">";
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
$update_pic = "<img id='FUPDPIC-$id' src=\"images/blank_icon.png\"
|
$update_pic = "<img id='FUPDPIC-$id' src=\"images/blank_icon.png\"
|
||||||
alt=\"Updated\">";
|
alt=\"Updated\">";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if ($line["unread"] == "t" || $line["unread"] == "1") {
|
if ($line["unread"] == "t" || $line["unread"] == "1") {
|
||||||
$class .= "Unread";
|
$class .= "Unread";
|
||||||
++$num_unread;
|
++$num_unread;
|
||||||
|
|
Loading…
Reference in New Issue