summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-03 21:45:31 +0300
committerAndrew Dolgov <[email protected]>2009-02-03 21:45:31 +0300
commit51f6f91758bfc57e52e8e9316495ae723d7c2332 (patch)
tree11e81638b5640671c5fa9ecbe9f11b41c17f5396 /modules
parent429326510c44900dd2dd9b6bd6f48bb93dbd039e (diff)
remove manual download dialog; make offline updates automatic
Diffstat (limited to 'modules')
-rw-r--r--modules/backend-rpc.php8
-rw-r--r--modules/popup-dialog.php4
2 files changed, 7 insertions, 5 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 3b5b2d63f..967e97aea 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -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>";
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 8a1b20209..2ba0740c4 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -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>