diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2005-10-20 18:37:56 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2005-10-20 18:37:56 +0000 |
commit | cbf3b9754b347c98942050a3e346a15af160e3b7 (patch) | |
tree | c63d165f42a9c3b473f3a0e221386d5c571aec84 /net-p2p/torrentflux/files/patch-html+startpop.php | |
parent | 841a41681c0046fc4a7b8ff181a6e1c135d06207 (diff) |
Notes
Diffstat (limited to 'net-p2p/torrentflux/files/patch-html+startpop.php')
-rw-r--r-- | net-p2p/torrentflux/files/patch-html+startpop.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-p2p/torrentflux/files/patch-html+startpop.php b/net-p2p/torrentflux/files/patch-html+startpop.php new file mode 100644 index 000000000000..f510858d6228 --- /dev/null +++ b/net-p2p/torrentflux/files/patch-html+startpop.php @@ -0,0 +1,20 @@ +--- html/startpop.php.orig Mon Oct 10 16:41:17 2005 ++++ html/startpop.php Mon Oct 10 16:42:20 2005 +@@ -138,7 +138,7 @@ + + function isNumber(sText) + { +- var ValidChars = "0123456789."; ++ var ValidChars = "0123456789.-"; + var IsNumber = true; + var Char; + +@@ -168,7 +168,7 @@ + <table width="100%" cellpadding="3" cellspacing="0" border="0"> + <tr> + <td align="right">Max Upload Rate:</td> +- <td><input type="Text" name="maxRate" maxlength="4" size="4" value="<?php echo $cfg["max_upload_rate"]; ?>"> kB/s</td> ++ <td><input type="Text" name="maxRate" maxlength="4" size="4" value="<?php echo $cfg["max_upload_rate"]; ?>"> kB/s<font class="tiny"> (-1 = auto)</font></td> + <td align="right">Max # Uploads:</td> + <td><input type="Text" name="maxUploads" maxlength="2" size="2" value="<?php echo $cfg["max_uploads"]; ?>"></td> + </tr> |