pmik76 / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 0 forks source link

Feature request: Download and Upload limit changes #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would it be possible to use a text-box instead of a drop-down for the
upload and download limits on the settings screen?  Alternately, could you
allow changing the drop-down settings in the config?

Original issue reported on code.google.com by placated...@gmail.com on 29 Apr 2008 at 10:03

GoogleCodeExporter commented 9 years ago
The code you need to change is around line 44 of settings.php:

foreach (array(0=>"Off",2000=>"2 secs",5000=>"5 secs",10000=>"10 
secs",20000=>"20 
secs",30000=>"30 secs",60000=>"1 min",300000=>"5 mins",60000=>"10 mins") as 
$ms=>$txt) {
   echo "<option value=$ms ".($_SESSION['refresh']==$ms ? "selected" : "").">$txt</
option>\n";
}

Original comment by lemonbe...@gmail.com on 30 Apr 2008 at 10:02