refresh button -> update button (forces refetch)
This commit is contained in:
parent
9197de1c62
commit
4fa3573e1a
|
@ -111,7 +111,8 @@
|
||||||
|
|
||||||
$line = pg_fetch_assoc($result);
|
$line = pg_fetch_assoc($result);
|
||||||
|
|
||||||
if (!$ext && $line["update_timeout"] > MIN_UPDATE_TIME) {
|
if ($ext == "ForceUpdate" ||
|
||||||
|
(!$ext && $line["update_timeout"] > MIN_UPDATE_TIME)) {
|
||||||
|
|
||||||
update_rss_feed($link, $line["feed_url"], $feed);
|
update_rss_feed($link, $line["feed_url"], $feed);
|
||||||
|
|
||||||
|
@ -186,8 +187,11 @@
|
||||||
print "<a class=\"button\"
|
print "<a class=\"button\"
|
||||||
href=\"javascript:viewfeed($feed, $next_skip);\">Next Page</a>";
|
href=\"javascript:viewfeed($feed, $next_skip);\">Next Page</a>";
|
||||||
print " ";
|
print " ";
|
||||||
|
// print "<a class=\"button\"
|
||||||
|
// href=\"javascript:viewfeed($feed, $skip, '');\">Refresh</a>";
|
||||||
|
// print " ";
|
||||||
print "<a class=\"button\"
|
print "<a class=\"button\"
|
||||||
href=\"javascript:viewfeed($feed, $skip, '');\">Refresh</a>";
|
href=\"javascript:viewfeed($feed, 0, 'ForceUpdate');\">Update</a>";
|
||||||
print " Mark as read: ";
|
print " Mark as read: ";
|
||||||
print "<a class=\"button\"
|
print "<a class=\"button\"
|
||||||
href=\"javascript:viewfeed($feed, $skip, 'MarkPageRead');\">This Page</a>";
|
href=\"javascript:viewfeed($feed, $skip, 'MarkPageRead');\">This Page</a>";
|
||||||
|
|
Loading…
Reference in New Issue