mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-06 18:01:32 +00:00
remove manual download dialog; make offline updates automatic
This commit is contained in:
@@ -517,10 +517,12 @@
|
||||
if ($subop == "download") {
|
||||
$stage = (int) $_REQUEST["stage"];
|
||||
$cid = db_escape_string($_REQUEST["cid"]);
|
||||
$amount = (int) $_REQUEST["amount"];
|
||||
$unread_only = db_escape_string($_REQUEST["unread_only"]);
|
||||
//$amount = (int) $_REQUEST["amount"];
|
||||
//$unread_only = db_escape_string($_REQUEST["unread_only"]);
|
||||
//if (!$amount) $amount = 50;
|
||||
|
||||
if (!$amount) $amount = 50;
|
||||
$amount = 100;
|
||||
$unread_only = true;
|
||||
|
||||
print "<rpc-reply>";
|
||||
|
||||
|
||||
@@ -461,7 +461,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if ($id == "offlineDownload") {
|
||||
/* if ($id == "offlineDownload") {
|
||||
print "<div id=\"infoBoxTitle\">".__('Download articles')."</div>";
|
||||
print "<div class=\"infoBoxContents\">";
|
||||
|
||||
@@ -500,7 +500,7 @@
|
||||
print "</div>";
|
||||
|
||||
return;
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
print "<div id='infoBoxTitle'>Internal Error</div>
|
||||
|
||||
Reference in New Issue
Block a user