add low bandwidth mode (less automatic requests in the background)

This commit is contained in:
Andrew Dolgov
2008-06-24 08:43:20 +01:00
parent d16d57ff2b
commit a598370dde
6 changed files with 47 additions and 4 deletions
+4
View File
@@ -1848,6 +1848,7 @@
$_POST["password"] = "";
$_SESSION["language"] = $_POST["language"];
$_SESSION["bw_limit"] = !!$_POST["bw_limit"];
header("Location: " . $_SERVER["REQUEST_URI"]);
exit;
@@ -3014,6 +3015,9 @@
print "<param key=\"hide_feedlist\" value=\"" .
(int) get_pref($link, "HIDE_FEEDLIST") . "\"/>";
print "<param key=\"bw_limit\" value=\"".
(int) $_SESSION["bw_limit"]."\"/>";
print "</init-params>";
}