diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/backend-rpc.php | 8 | ||||
-rw-r--r-- | modules/popup-dialog.php | 4 |
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> |