1
0
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:
Andrew Dolgov
2009-02-03 21:45:31 +03:00
parent 429326510c
commit 51f6f91758
3 changed files with 20 additions and 22 deletions

View File

@@ -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>";

View File

@@ -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>