diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-02 18:37:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-06 12:43:06 +0900 |
| commit | bb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (patch) | |
| tree | 598156ab1f71ee857c8e1f233f0292e13f36fa28 /src/plugins/webinterface/www/mobile/settings.php | |
| parent | 7271fa27ac1881beb5326ca8c9c83471695d8487 (diff) | |
| download | ktorrent-bb099158.tar.gz ktorrent-bb099158.zip | |
Restructure source files into 'src' subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 44ef0bd5fe47a43e47aec5f7981b6c1d728dd9a8)
Diffstat (limited to 'src/plugins/webinterface/www/mobile/settings.php')
| -rw-r--r-- | src/plugins/webinterface/www/mobile/settings.php | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/plugins/webinterface/www/mobile/settings.php b/src/plugins/webinterface/www/mobile/settings.php new file mode 100644 index 0000000..b763bb1 --- /dev/null +++ b/src/plugins/webinterface/www/mobile/settings.php @@ -0,0 +1,44 @@ +<html> +<head> +<title>KTorrent WebInterface</title> +</head> +<body> +<table width="100%"> + <tbody> + <tr> + <td align="center"><IMG src="ktorrentwebinterfacelogo.png" width="340" height="150" align="top" border="0"></td> + <td><strong>ktorrent-><a href="interface.php">transfers</a></strong>->settings</td> + <td><a href="settings.php" >refresh</a></td> + </tr> + </tbody> +</table> +<table width="100%"> + <tbody> +<?php + $globalinfo=globalInfo(); + echo "<FORM method=\"GET\">"; + echo "<tr>"; + echo "<td>Upload Speed (0 is no limit): </td>"; + echo "<td><INPUT type=\"text\" name=\"maximum_upload_rate\" value=\"{$globalinfo['max_upload_speed']}\"></td>"; + echo " </tr>"; + echo "<tr>"; + echo "<td>Download Speed (0 is no limit): </td>"; + echo "<td><INPUT type=\"text\" name=\"maximum_download_rate\" value=\"{$globalinfo['max_download_speed']}\"></td>"; + echo "</tr>"; + echo "<tr>"; + echo "<td>Maximum downloads (0 is no limit): </td>"; + echo "<td><INPUT type=\"text\" name=\"maximum_downloads\" value=\"{$globalinfo['max_downloads']}\"></td>"; + echo"</tr>"; + echo "<tr>"; + echo "<td>Maximum seeds (0 is no limit): </td>"; + echo "<td><INPUT type=\"text\" name=\"maximum_seeds\" value=\"{$globalinfo['max_seeds']}\"></td>"; + echo"</tr>"; + echo "<tr><td><INPUT type=\"submit\"></tr></td>"; + echo "</FORM>"; +?> +</tbody> +</table> + +</body> +</html> + |
