1
0

page.admin.transferSettings.tmpl 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <tmpl_include name="inc.head.tmpl">
  2. <tmpl_include name="inc.titleBar.tmpl">
  3. <script src="js/functions.js" type="text/javascript"></script>
  4. <script src="js/adminSettings.js" type="text/javascript"></script>
  5. <div id="content">
  6. <form name="theForm" action="admin.php?op=updateTransferSettings" method="post" onsubmit="return validateSettings('transfer')">
  7. <div align="left"><strong>Legend:</strong><br/>B = BitTornado<br/>T = Transmission<br/>M = BitTorrent Mainline<br/>A = Azureus<br/>W = Wget<br/>N = Nzbperl<br/><br/></div>
  8. <div id="upload">
  9. <div id="uploadLast"></div>
  10. <div id="uploadFirst">
  11. <span class="upload">
  12. BitTorrent
  13. </span>
  14. </div>
  15. </div>
  16. <div class="uploadClass">
  17. <table id="settings">
  18. <tr>
  19. <td class="settingsTitle">
  20. <label for="btclient">Default BitTorrent Client</label>
  21. </td>
  22. <td class="settingsSetting" rowspan="2">
  23. <select name="btclient" id="btclient">
  24. <option value="tornado"
  25. <tmpl_if name="btclient" value="tornado">
  26. selected
  27. </tmpl_if>
  28. >BitTornado</option>
  29. <option value="transmission"
  30. <tmpl_if name="btclient" value="transmission">
  31. selected
  32. </tmpl_if>
  33. >Transmission</option>
  34. <option value="mainline"
  35. <tmpl_if name="btclient" value="mainline">
  36. selected
  37. </tmpl_if>
  38. >BitTorrent Mainline</option>
  39. <option value="azureus"
  40. <tmpl_if name="btclient" value="azureus">
  41. selected
  42. </tmpl_if>
  43. >Azureus</option>
  44. </select>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td class="settingsText">
  49. Set the client to use by default to start torrent transfers.
  50. </td>
  51. </tr>
  52. <tr>
  53. <td class="settingsTitle">
  54. <label for="metainfoclient">Torrent Metainfo Client</label>
  55. </td>
  56. <td class="settingsSetting" rowspan="2">
  57. <select name="metainfoclient" id="metainfoclient">
  58. <option value="btshowmetainfo.py"
  59. <tmpl_if name="metainfoclient" value="btshowmetainfo.py">
  60. selected
  61. </tmpl_if>
  62. >btshowmetainfo.py</option>
  63. <option value="transmissioncli"
  64. <tmpl_if name="metainfoclient" value="transmissioncli">
  65. selected
  66. </tmpl_if>
  67. >transmissioncli</option>
  68. <option value="torrentinfo-console.py"
  69. <tmpl_if name="metainfoclient" value="torrentinfo-console.py">
  70. selected
  71. </tmpl_if>
  72. >torrentinfo-console.py</option>
  73. <option value="ttools.pl"
  74. <tmpl_if name="metainfoclient" value="ttools.pl">
  75. selected
  76. </tmpl_if>
  77. >ttools.pl</option>
  78. </select>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td class="settingsText">
  83. Set the client to use to decode torrent meta data.
  84. </td>
  85. </tr>
  86. <tr>
  87. <td class="settingsTitle">
  88. <label for="btclient_tornado_options">BitTornado - Extra Commandline Options:</label>
  89. </td>
  90. <td class="settingsSetting">
  91. <input name="btclient_tornado_options" id="btclient_tornado_options" type="Text" maxlength="254" value="<tmpl_var name="btclient_tornado_options">" size="30">
  92. </td>
  93. </tr>
  94. <tr>
  95. <td class="settingsTitle">
  96. <label for="btclient_transmission_options">Transmission - Extra Commandline Options:</label>
  97. </td>
  98. <td class="settingsSetting">
  99. <input name="btclient_transmission_options" id="btclient_transmission_options" type="Text" maxlength="254" value="<tmpl_var name="btclient_transmission_options">" size="30">
  100. </td>
  101. </tr>
  102. <tr>
  103. <td class="settingsTitle">
  104. <label for="btclient_mainline_options">BitTorrent Mainline - Extra Commandline Options:</label>
  105. </td>
  106. <td class="settingsSetting">
  107. <input name="btclient_mainline_options" id="btclient_mainline_options" type="Text" maxlength="254" value="<tmpl_var name="btclient_mainline_options">" size="30">
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="settingsTitle">
  112. <label for="max_upload_rate">Max Upload Rate (B+T+M+A)</label>
  113. </td>
  114. <td class="settingsSetting" rowspan="2">
  115. <input name="max_upload_rate" id="max_upload_rate" type="Text" maxlength="5" value="<tmpl_var name="max_upload_rate">" size="5"> kB/second
  116. </td>
  117. </tr>
  118. <tr>
  119. <td class="settingsText">
  120. Set the default value for the max upload rate per transfer (0 for no limit).
  121. </td>
  122. </tr>
  123. <tr>
  124. <td class="settingsTitle">
  125. <label for="max_download_rate">Max Download Rate (B+T+M+A)</label>
  126. </td>
  127. <td class="settingsSetting" rowspan="2">
  128. <input name="max_download_rate" id="max_download_rate" type="Text" maxlength="5" value="<tmpl_var name="max_download_rate">" size="5"> kB/second
  129. </td>
  130. </tr>
  131. <tr>
  132. <td class="settingsText">
  133. Set the default value for the max download rate per transfer (0 for no limit).
  134. </td>
  135. </tr>
  136. <tr>
  137. <td class="settingsTitle">
  138. <label for="max_uploads">Max Upload Connections (B+M)</label>
  139. </td>
  140. <td class="settingsSetting" rowspan="2">
  141. <input name="max_uploads" id="max_uploads" type="Text" maxlength="5" value="<tmpl_var name="max_uploads">" size="5">
  142. </td>
  143. </tr>
  144. <tr>
  145. <td class="settingsText">
  146. Set the default value for the max number of upload connections per transfer (0 for no limit).
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="settingsTitle">
  151. <label for="maxcons">Max Connections (B+M)</label>
  152. </td>
  153. <td class="settingsSetting" rowspan="2">
  154. <input name="maxcons" id="maxcons" type="Text" maxlength="5" value="<tmpl_var name="maxcons">" size="5">
  155. </td>
  156. </tr>
  157. <tr>
  158. <td class="settingsText">
  159. Set the maximum number of concurrent connections allowed.
  160. </td>
  161. </tr>
  162. <tr>
  163. <td class="settingsTitle">
  164. <label for="minport">Port Range (B+T+M)</label>
  165. </td>
  166. <td class="settingsSetting" rowspan="2">
  167. <input name="minport" id="minport" type="Text" maxlength="5" value="<tmpl_var name="minport">" size="5">
  168. -
  169. <input name="maxport" id="maxport" type="Text" maxlength="5" value="<tmpl_var name="maxport">" size="5">
  170. </td>
  171. </tr>
  172. <tr>
  173. <td class="settingsText">
  174. Set the default values for the for port range (min - max).<br/>
  175. <strong>Note:</strong> One port is required per torrent; ensure the port range is large enough for the maximum number of torrents you will be running.
  176. </td>
  177. </tr>
  178. <tr>
  179. <td class="settingsTitle">
  180. <label for="rerequest_interval">Rerequest Interval (B+M)</label>
  181. </td>
  182. <td class="settingsSetting" rowspan="2">
  183. <input name="rerequest_interval" id="rerequest_interval" type="Text" maxlength="5" value="<tmpl_var name="rerequest_interval">" size="5">
  184. </td>
  185. </tr>
  186. <tr>
  187. <td class="settingsText">
  188. Set the default value for the rerequest interval to the tracker (default 1800 seconds).
  189. </td>
  190. </tr>
  191. <tr>
  192. <td class="settingsTitle">
  193. <label for="die_when_done">Default Torrent Completion Activity (B+T+M+A)</label>
  194. </td>
  195. <td class="settingsSetting" rowspan="2">
  196. <select name="die_when_done" id="die_when_done">
  197. <option value="True">Die When Done</option>
  198. <option value="False"
  199. <tmpl_if name="die_when_done" value="False">
  200. selected
  201. </tmpl_if>
  202. >Keep Seeding</option>
  203. </select>
  204. </td>
  205. </tr>
  206. <tr>
  207. <td class="settingsText">
  208. Select whether or not a torrent should keep seeding when download is complete (please seed your torrents).
  209. </td>
  210. </tr>
  211. <tr>
  212. <td class="settingsTitle">
  213. <label for="sharekill">Default Percentage When Seeding Should Stop (B+T+M+A)</label>
  214. </td>
  215. <td class="settingsSetting" rowspan="2">
  216. <input name="sharekill" id="sharekill" type="Text" maxlength="4" value="<tmpl_var name="sharekill">" size="4">%
  217. </td>
  218. </tr>
  219. <tr>
  220. <td class="settingsText">
  221. Set the default share percentage at which torrents will die if 'Keep Seeding' is selected as completion activity above ('0' will seed forever).
  222. </td>
  223. </tr>
  224. <tr>
  225. <td class="settingsTitle">
  226. <label for="enable_sharekill">Enable Cumulative Sharekill (B+T+M+A)</label>
  227. </td>
  228. <td class="settingsSetting" rowspan="2">
  229. <select name="enable_sharekill" id="enable_sharekill">
  230. <option value="1">True</option>
  231. <option value="0"
  232. <tmpl_if name="enable_sharekill" value="0">
  233. selected
  234. </tmpl_if>
  235. >False</option>
  236. </select>
  237. </td>
  238. </tr>
  239. <tr>
  240. <td class="settingsText">
  241. Recalculate the sharekill value passed to clients on restart based on the total amount uploaded - ie including previous sessions transfer totals.
  242. </td>
  243. </tr>
  244. <tr>
  245. <td class="settingsTitle">
  246. <label for="enable_file_priority">Enable File Priority (B)</label>
  247. </td>
  248. <td class="settingsSetting" rowspan="2">
  249. <select name="enable_file_priority" id="enable_file_priority">
  250. <option value="1">True</option>
  251. <option value="0"
  252. <tmpl_if name="enable_file_priority" value="0">
  253. selected
  254. </tmpl_if>
  255. >False</option>
  256. </select>
  257. </td>
  258. </tr>
  259. <tr>
  260. <td class="settingsText">
  261. Allow users to select which files from a torrent to download.
  262. </td>
  263. </tr>
  264. <tr>
  265. <td class="settingsTitle">
  266. <label for="superseeder">Superseeder (B)</label>
  267. </td>
  268. <td class="settingsSetting" rowspan="2">
  269. <select name="superseeder" id="superseeder">
  270. <option value="1">True</option>
  271. <option value="0"
  272. <tmpl_if name="superseeder" value="0">
  273. selected
  274. </tmpl_if>
  275. >False</option>
  276. </select>
  277. </td>
  278. </tr>
  279. <tr>
  280. <td class="settingsText">
  281. Set superseeder setting on torrent start by default.
  282. </td>
  283. </tr>
  284. <tr>
  285. <td class="settingsTitle">
  286. <label for="skiphashcheck">Skip HashCheck (B+M)</label>
  287. </td>
  288. <td class="settingsSetting" rowspan="2">
  289. <select name="skiphashcheck" id="skiphashcheck">
  290. <option value="1">True</option>
  291. <option value="0"
  292. <tmpl_if name="skiphashcheck" value="0">
  293. selected
  294. </tmpl_if>
  295. >False</option>
  296. </select>
  297. </td>
  298. </tr>
  299. <tr>
  300. <td class="settingsText">
  301. Skip hash checking by default when starting torrents.
  302. </td>
  303. </tr>
  304. </table>
  305. </div>
  306. <div id="uploadBottom"></div>
  307. <div id="uploadBottomEnd"></div>
  308. <div id="upload">
  309. <div id="uploadLast"></div>
  310. <div id="uploadFirst">
  311. <span class="upload">
  312. Fluazu
  313. </span>
  314. </div>
  315. </div>
  316. <div class="uploadClass">
  317. <table id="settings">
  318. <tr>
  319. <td class="settingsTitle">
  320. Fluazu Daemon
  321. </td>
  322. <td class="settingsSetting" rowspan="2">
  323. <a id="closeLink" href="admin.php?op=fluazuSettings">Edit Fluazu Settings</a>
  324. </td>
  325. </tr>
  326. <tr>
  327. <td class="settingsText">
  328. Fluazu is a proxy to use an Azureus backend as client for torrents.<br>
  329. </td>
  330. </tr>
  331. </table>
  332. </div>
  333. <div id="uploadBottom"></div>
  334. <div id="uploadBottomEnd"></div>
  335. <div id="upload">
  336. <div id="uploadLast"></div>
  337. <div id="uploadFirst">
  338. <span class="upload">
  339. Wget
  340. </span>
  341. </div>
  342. </div>
  343. <div class="uploadClass">
  344. <table id="settings">
  345. <tr>
  346. <td class="settingsTitle">
  347. <label for="enable_wget">Enable Wget</label>
  348. </td>
  349. <td class="settingsSetting" rowspan="2">
  350. <select name="enable_wget" id="enable_wget">
  351. <option value="0" <tmpl_if name="enable_wget" value="0"> selected</tmpl_if>>Wget Disabled</option>
  352. <option value="1" <tmpl_if name="enable_wget" value="1"> selected</tmpl_if>>Only Admins</option>
  353. <option value="2" <tmpl_if name="enable_wget" value="2"> selected</tmpl_if>>All Users</option>
  354. </select>
  355. </td>
  356. </tr>
  357. <tr>
  358. <td class="settingsText">
  359. Set who can use wget.
  360. </td>
  361. </tr>
  362. <tr>
  363. <td class="settingsTitle">
  364. <label for="wget_limit_rate">Limit Download Rate</label>
  365. </td>
  366. <td class="settingsSetting" rowspan="2">
  367. <input name="wget_limit_rate" id="wget_limit_rate" type="Text" maxlength="5" value="<tmpl_var name="wget_limit_rate">" size="5"> kB/second
  368. </td>
  369. </tr>
  370. <tr>
  371. <td class="settingsText">
  372. Set the default value for the max download rate per transfer (0 for no limit).
  373. </td>
  374. </tr>
  375. <tr>
  376. <td class="settingsTitle">
  377. <label for="wget_limit_retries">Limit Number of Retries</label>
  378. </td>
  379. <td class="settingsSetting" rowspan="2">
  380. <input name="wget_limit_retries" id="wget_limit_retries" type="Text" maxlength="5" value="<tmpl_var name="wget_limit_retries">" size="5">
  381. </td>
  382. </tr>
  383. <tr>
  384. <td class="settingsText">
  385. Set the max number of retries to attempt (0 for no limits).
  386. </td>
  387. </tr>
  388. <tr>
  389. <td class="settingsTitle">
  390. <label for="wget_ftp_pasv">Enable Passive FTP</label>
  391. </td>
  392. <td class="settingsSetting" rowspan="2">
  393. <select name="wget_ftp_pasv" id="wget_ftp_pasv">
  394. <option value="1">True</option>
  395. <option value="0"
  396. <tmpl_if name="wget_ftp_pasv" value="0">
  397. selected
  398. </tmpl_if>
  399. >False</option>
  400. </select>
  401. </td>
  402. </tr>
  403. <tr>
  404. <td class="settingsText">
  405. Enable/disable "passive" transfer mode for FTP.
  406. </td>
  407. </tr>
  408. </table>
  409. </div>
  410. <div id="uploadBottom"></div>
  411. <div id="uploadBottomEnd"></div>
  412. <div id="upload">
  413. <div id="uploadLast"></div>
  414. <div id="uploadFirst">
  415. <span class="upload">
  416. Nzbperl
  417. </span>
  418. </div>
  419. </div>
  420. <div class="uploadClass">
  421. <table id="settings">
  422. <tr>
  423. <td class="settingsTitle">
  424. Nzbperl Requirements Check:
  425. </td>
  426. <td class="settingsSetting">
  427. <script language="JavaScript">
  428. function SuperAdmin(name_file) {
  429. window.open (name_file,"_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600")
  430. }
  431. </script>
  432. <a id="closeLink" href="javascript:SuperAdmin('superadmin.php?y=531')">Run Nzbperl Requirements Check</a>
  433. </td>
  434. </tr>
  435. <tr>
  436. <td class="settingsTitle">
  437. <label for="enable_nzbperl">Enable Nzbperl</label>
  438. </td>
  439. <td class="settingsSetting" rowspan="2">
  440. <select name="enable_nzbperl" id="enable_nzbperl">
  441. <option value="0" <tmpl_if name="enable_nzbperl" value="0"> selected</tmpl_if>>Nzbperl Disabled</option>
  442. <option value="1" <tmpl_if name="enable_nzbperl" value="1"> selected</tmpl_if>>Only Admins</option>
  443. <option value="2" <tmpl_if name="enable_nzbperl" value="2"> selected</tmpl_if>>All Users</option>
  444. </select>
  445. </td>
  446. </tr>
  447. <tr>
  448. <td class="settingsText">
  449. Set who can use nzbperl.
  450. </td>
  451. </tr>
  452. <tr>
  453. <td class="settingsTitle">
  454. <label for="nzbperl_create">Use Subdirectories</label>
  455. </td>
  456. <td class="settingsSetting" rowspan="2">
  457. <select name="nzbperl_create" id="nzbperl_create">
  458. <option value="0" <tmpl_if name="nzbperl_create" value="0"> selected</tmpl_if>>No Extra Dir</option>
  459. <option value="1" <tmpl_if name="nzbperl_create" value="1"> selected</tmpl_if>>Use Nzb Filename</option>
  460. <option value="2" <tmpl_if name="nzbperl_create" value="2"> selected</tmpl_if>>Use Usenet Group Name</option>
  461. </select>
  462. </td>
  463. </tr>
  464. <tr>
  465. <td class="settingsText">
  466. Download nzbperl content into separate subdirectories.
  467. </td>
  468. </tr>
  469. <tr>
  470. <td class="settingsTitle">
  471. <label for="nzbperl_badAction">Bad File Action</label>
  472. </td>
  473. <td class="settingsSetting" rowspan="2">
  474. <select name="nzbperl_badAction" id="nzbperl_badAction">
  475. <option value="0" <tmpl_if name="nzbperl_badAction" value="0"> selected</tmpl_if>>Drop Bad Files</option>
  476. <option value="1" <tmpl_if name="nzbperl_badAction" value="1"> selected</tmpl_if>>Download Anyway</option>
  477. </select>
  478. </td>
  479. </tr>
  480. <tr>
  481. <td class="settingsText">
  482. Set the action to perform on finding a bad entry in the nzb.
  483. </td>
  484. </tr>
  485. <tr>
  486. <td class="settingsTitle">
  487. <label for="nzbperl_rate">Download Rate</label>
  488. </td>
  489. <td class="settingsSetting" rowspan="2">
  490. <input name="nzbperl_rate" id="nzbperl_rate" type="Text" maxlength="5" value="<tmpl_var name="nzbperl_rate">" size="5"> kB/second
  491. </td>
  492. </tr>
  493. <tr>
  494. <td class="settingsText">
  495. Set the default value for the max download rate per transfer (0 for no limit).
  496. </td>
  497. </tr>
  498. <tr>
  499. <td class="settingsTitle">
  500. <label for="nzbperl_server">Server</label>
  501. </td>
  502. <td class="settingsSetting" rowspan="2">
  503. <input name="nzbperl_server" id="nzbperl_server" type="Text" maxlength="254" value="<tmpl_var name="nzbperl_server">" size="30">
  504. </td>
  505. </tr>
  506. <tr>
  507. <td class="settingsText">
  508. Set the NNTP server nzbperl should connect to.
  509. </td>
  510. </tr>
  511. <tr>
  512. <td class="settingsTitle">
  513. <label for="nzbperl_user">Username</label>
  514. </td>
  515. <td class="settingsSetting" rowspan="2">
  516. <input name="nzbperl_user" id="nzbperl_user" type="Text" maxlength="254" value="<tmpl_var name="nzbperl_user">" size="30">
  517. </td>
  518. </tr>
  519. <tr>
  520. <td class="settingsText">
  521. Set the username to use when connecting to your NNTP server.
  522. </td>
  523. </tr>
  524. <tr>
  525. <td class="settingsTitle">
  526. <label for="nzbperl_pw">Password</label>
  527. </td>
  528. <td class="settingsSetting" rowspan="2">
  529. <input name="nzbperl_pw" id="nzbperl_pw" type="password" maxlength="254" value="<tmpl_var name="nzbperl_pw">" size="30">
  530. </td>
  531. </tr>
  532. <tr>
  533. <td class="settingsText">
  534. Set the password to use when connecting to your NNTP server.
  535. </td>
  536. </tr>
  537. <tr>
  538. <td class="settingsTitle">
  539. <label for="nzbperl_conn">Connections</label>
  540. </td>
  541. <td class="settingsSetting" rowspan="2">
  542. <input name="nzbperl_conn" id="nzbperl_conn" type="text" maxlength="5" value="<tmpl_var name="nzbperl_conn">" size="5">
  543. </td>
  544. </tr>
  545. <tr>
  546. <td class="settingsText">
  547. The number of simultaneous connections to the NNTP server nzbperl will create.<br/>
  548. <strong>Note:</strong> You can only run conn/server_max nzb downloads at once.
  549. </td>
  550. </tr>
  551. <tr>
  552. <td class="settingsTitle">
  553. <label for="nzbperl_threads">Threads</label>
  554. </td>
  555. <td class="settingsSetting" rowspan="2">
  556. <select name="nzbperl_threads" id="nzbperl_threads">
  557. <tmpl_loop name="nzbperl_threadList">
  558. <option value="<tmpl_var name="value">"<tmpl_if name="is_selected" value="1"> selected</tmpl_if>>
  559. <tmpl_var name="name">
  560. </option>
  561. </tmpl_loop>
  562. </select>
  563. </td>
  564. </tr>
  565. <tr>
  566. <td class="settingsText">
  567. Use threading.<br/>
  568. <strong>Note:</strong> Enable only if your Perl installation supports threads.
  569. </td>
  570. </tr>
  571. <tr>
  572. <td class="settingsTitle">
  573. <label for="nzbperl_options">Nzbperl - Extra Commandline Options</label>
  574. </td>
  575. <td class="settingsSetting">
  576. <input name="nzbperl_options" id="nzbperl_options" type="Text" maxlength="254" value="<tmpl_var name="nzbperl_options">" size="30">
  577. </td>
  578. </tr>
  579. </table>
  580. </div>
  581. <div id="uploadBottom"></div>
  582. <div id="uploadBottomEnd"></div>
  583. <div id="upload">
  584. <div id="uploadLast"></div>
  585. <div id="uploadFirst">
  586. <span class="upload">
  587. Common
  588. </span>
  589. </div>
  590. </div>
  591. <div class="uploadClass">
  592. <table id="settings">
  593. <tr>
  594. <td class="settingsTitle">
  595. <label for="enable_umask">Enable 0000 Umask (B+T+M+W+N)</label>
  596. </td>
  597. <td class="settingsSetting" rowspan="2">
  598. <select name="enable_umask" id="enable_umask">
  599. <option value="1">True</option>
  600. <option value="0"
  601. <tmpl_if name="enable_umask" value="0">
  602. selected
  603. </tmpl_if>
  604. >False</option>
  605. </select>
  606. </td>
  607. </tr>
  608. <tr>
  609. <td class="settingsText">
  610. Enable/disable setting umask to 0000 when starting a client.<br/>
  611. <strong>Note:</strong> Resulting permissions of created files will be 666 - readable and writable by everyone - and directories will be 777 - readable/writable/executable by everyone.
  612. </td>
  613. </tr>
  614. <tr>
  615. <td class="settingsTitle">
  616. <label for="nice_adjust">Use Nice (B+T+M+W+N)</label>
  617. </td>
  618. <td class="settingsSetting" rowspan="2">
  619. <select name="nice_adjust" id="nice_adjust">
  620. <tmpl_loop name="nice_list">
  621. <option value="<tmpl_var name="i">"
  622. <tmpl_if name="nice_adjust_true" value="1">
  623. selected
  624. </tmpl_if>
  625. >
  626. <tmpl_if name="i" value="0">
  627. Don't Use Nice
  628. <tmpl_else name="i">
  629. <tmpl_var name="i">
  630. </tmpl_if>
  631. </option>
  632. </tmpl_loop>
  633. </select>
  634. </td>
  635. </tr>
  636. <tr>
  637. <td class="settingsText">
  638. Set the nice level to use for transfer processes.<br/>
  639. <strong>Note:</strong> The highest nice level - 19 - gives processes the lowest possible priority over other processes on the server.
  640. </td>
  641. </tr>
  642. <tr>
  643. <td class="settingsTitle">
  644. </td>
  645. <td class="settingsSetting">
  646. <input type="Submit" value="Update Settings">
  647. </td>
  648. </tr>
  649. </table>
  650. </div>
  651. <div id="uploadBottom"></div>
  652. <div id="uploadBottomEnd"></div>
  653. </form>
  654. <tmpl_include name="inc.subfoot.tmpl">
  655. </div>
  656. </body>
  657. </html>