1
0

inc.personalSettingsForm.tmpl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <form name="settingsForm" action="index.php?iid=profile&op=updateSettingsUser" method="post" onsubmit="return validateSettings('')">
  2. <table id="settings">
  3. <tr>
  4. <td class="settingsTitle">
  5. <label for="enable_index_meta_refresh">Page Refresh</label>
  6. </td>
  7. <td class="settingsSetting" rowspan="2">
  8. <select name="enable_index_meta_refresh" id="enable_index_meta_refresh">
  9. <option value="1">true</option>
  10. <option value="0"
  11. <tmpl_if name="enable_index_meta_refresh" value="0">
  12. selected
  13. </tmpl_if>
  14. >false</option>
  15. </select>
  16. </td>
  17. </tr>
  18. <tr>
  19. <td class="settingsText">
  20. Enable/disable page refresh
  21. </td>
  22. </tr>
  23. <tr>
  24. <td class="settingsTitle">
  25. <label for="page_refresh">Page Refresh Interval</label>
  26. </td>
  27. <td class="settingsSetting" rowspan="2">
  28. <input name="page_refresh" id="page_refresh" type="Text" maxlength="3" value="<tmpl_var name="page_refresh">" size="3">
  29. </td>
  30. </tr>
  31. <tr>
  32. <td class="settingsText">
  33. Number of seconds between page refreshes
  34. </td>
  35. </tr>
  36. <tr>
  37. <td class="settingsTitle">
  38. <label for="enable_index_ajax_update">AJAX Update</label>
  39. </td>
  40. <td class="settingsSetting" rowspan="2">
  41. <select name="enable_index_ajax_update" id="enable_index_ajax_update">
  42. <option value="1">true</option>
  43. <option value="0"
  44. <tmpl_if name="enable_index_ajax_update" value="0">
  45. selected
  46. </tmpl_if>
  47. >false</option>
  48. </select>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class="settingsText">
  53. Enable/disable AJAX updates
  54. </td>
  55. </tr>
  56. <tr>
  57. <td class="settingsTitle">
  58. <label for="enable_index_ajax_update_title">Page title AJAX Update</label>
  59. </td>
  60. <td class="settingsSetting" rowspan="2">
  61. <select name="enable_index_ajax_update_title" id="enable_index_ajax_update_title">
  62. <option value="1">true</option>
  63. <option value="0"
  64. <tmpl_if name="enable_index_ajax_update_title" value="0">
  65. selected
  66. </tmpl_if>
  67. >false</option>
  68. </select>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td class="settingsText">
  73. Enable/disable update of page title in AJAX updates
  74. </td>
  75. </tr>
  76. <tr>
  77. <td class="settingsTitle">
  78. <label for="enable_index_ajax_update_users">User list AJAX Update</label>
  79. </td>
  80. <td class="settingsSetting" rowspan="2">
  81. <select name="enable_index_ajax_update_users" id="enable_index_ajax_update_users">
  82. <option value="1">true</option>
  83. <option value="0"
  84. <tmpl_if name="enable_index_ajax_update_users" value="0">
  85. selected
  86. </tmpl_if>
  87. >false</option>
  88. </select>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td class="settingsText">
  93. Enable/disable update of the user list in AJAX Updates
  94. </td>
  95. </tr>
  96. <tr>
  97. <td class="settingsTitle">
  98. <label for="enable_index_ajax_update_list">Transfer List AJAX Update</label>
  99. </td>
  100. <td class="settingsSetting" rowspan="2">
  101. <select name="enable_index_ajax_update_list" id="enable_index_ajax_update_list">
  102. <option value="1">true</option>
  103. <option value="0"
  104. <tmpl_if name="enable_index_ajax_update_list" value="0">
  105. selected
  106. </tmpl_if>
  107. >false</option>
  108. </select>
  109. </td>
  110. </tr>
  111. <tr>
  112. <td class="settingsText">
  113. Enable/disable update of the transfer list in AJAX updates
  114. </td>
  115. </tr>
  116. <tr>
  117. <td class="settingsTitle">
  118. <label for="enable_index_ajax_update_silent">Silent AJAX Update</label>
  119. </td>
  120. <td class="settingsSetting" rowspan="2">
  121. <select name="enable_index_ajax_update_silent" id="enable_index_ajax_update_silent">
  122. <option value="1">true</option>
  123. <option value="0"
  124. <tmpl_if name="enable_index_ajax_update_silent" value="0">
  125. selected
  126. </tmpl_if>
  127. >false</option>
  128. </select>
  129. </td>
  130. </tr>
  131. <tr>
  132. <td class="settingsText">
  133. Do not display &quot;Update in Progress...&quot; during AJAX updates
  134. </td>
  135. </tr>
  136. <tr>
  137. <td class="settingsTitle">
  138. <label for="index_ajax_update">AJAX Update Interval</label>
  139. </td>
  140. <td class="settingsSetting" rowspan="2">
  141. <input name="index_ajax_update" id="index_ajax_update" type="Text" maxlength="3" value="<tmpl_var name="index_ajax_update">" size="3">
  142. </td>
  143. </tr>
  144. <tr>
  145. <td class="settingsText">
  146. Number of seconds between AJAX updates (default: 5)
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="settingsTitle">
  151. <label for="ui_dim_main_w">Width</label>
  152. </td>
  153. <td class="settingsSetting" rowspan="2">
  154. <input name="ui_dim_main_w" id="ui_dim_main_w" type="Text" maxlength="5" value="<tmpl_var name="ui_dim_main_w">" size="5">
  155. </td>
  156. </tr>
  157. <tr>
  158. <td class="settingsText">
  159. Width in pixels of the index page (default: 900)
  160. </td>
  161. </tr>
  162. <tr>
  163. <td class="settingsTitle">
  164. <label for="ui_displaylinks">Display Links</label>
  165. </td>
  166. <td class="settingsSetting" rowspan="2">
  167. <select name="ui_displaylinks" id="ui_displaylinks">
  168. <option value="1">true</option>
  169. <option value="0"
  170. <tmpl_if name="ui_displaylinks" value="0">
  171. selected
  172. </tmpl_if>
  173. >false</option>
  174. </select>
  175. </td>
  176. </tr>
  177. <tr>
  178. <td class="settingsText">
  179. Display list of links on the index page
  180. </td>
  181. </tr>
  182. <tr>
  183. <td class="settingsTitle">
  184. <label for="ui_displayusers">Display Users</label>
  185. </td>
  186. <td class="settingsSetting" rowspan="2">
  187. <select name="ui_displayusers" id="ui_displayusers">
  188. <option value="1">true</option>
  189. <option value="0"
  190. <tmpl_if name="ui_displayusers" value="0">
  191. selected
  192. </tmpl_if>
  193. >false</option>
  194. </select>
  195. </td>
  196. </tr>
  197. <tr>
  198. <td class="settingsText">
  199. Display users on the index page
  200. </td>
  201. </tr>
  202. <tr>
  203. <td class="settingsTitle">
  204. <label for="enable_goodlookstats">Enable Good Looking Statistics</label>
  205. </td>
  206. <td class="settingsSetting" rowspan="2">
  207. <select name="enable_goodlookstats" id="enable_goodlookstats">
  208. <option value="1">true</option>
  209. <option value="0"
  210. <tmpl_if name="enable_goodlookstats" value="0">
  211. selected
  212. </tmpl_if>
  213. >false</option>
  214. </select>
  215. </td>
  216. </tr>
  217. <tr>
  218. <td class="settingsText">
  219. Enable/disable &quot;Good looking statistics&quot;
  220. </td>
  221. </tr>
  222. <tr>
  223. <td class="settingsTitle">
  224. Good Looking Statistics Settings
  225. </td>
  226. <td class="settingsSetting" rowspan="2">
  227. <tmpl_include name="inc.goodLookingStatsForm.tmpl">
  228. </td>
  229. </tr>
  230. <tr>
  231. <td class="settingsText">
  232. Select Fields shown in &quot;Good looking statistics&quot;
  233. </td>
  234. </tr>
  235. <tr>
  236. <td class="settingsTitle">
  237. <label for="ui_displaybandwidthbars"Display Bandwidth Bars</label>
  238. </td>
  239. <td class="settingsSetting" rowspan="2">
  240. <select name="ui_displaybandwidthbars" id="ui_displaybandwidthbars">
  241. <option value="1">true</option>
  242. <option value="0"
  243. <tmpl_if name="ui_displaybandwidthbars" value="0">
  244. selected
  245. </tmpl_if>
  246. >false</option>
  247. </select>
  248. </td>
  249. </tr>
  250. <tr>
  251. <td class="settingsText">
  252. Display bandwidth usage bars
  253. </td>
  254. </tr>
  255. <tr>
  256. <td class="settingsTitle">
  257. <label for="bandwidthbar">Bandwidth Bars Style</label>
  258. </td>
  259. <td class="settingsSetting" rowspan="2">
  260. <select name="bandwidthbar" id="bandwidthbar">
  261. <option value="tf"
  262. <tmpl_if name="bandwidthbar" value="tf">
  263. selected
  264. </tmpl_if>
  265. >tf</option>
  266. <option value="xfer"
  267. <tmpl_if name="bandwidthbar" value="xfer">
  268. selected
  269. </tmpl_if>
  270. >xfer</option>
  271. </select>
  272. </td>
  273. </tr>
  274. <tr>
  275. <td class="settingsText">
  276. Select style of bandwidth bars
  277. </td>
  278. </tr>
  279. <tr>
  280. <td class="settingsTitle">
  281. <label for="enable_bigboldwarning">Big Bold Drivespace Warning</label>
  282. </td>
  283. <td class="settingsSetting" rowspan="2">
  284. <select name="enable_bigboldwarning" id="enable_bigboldwarning">
  285. <option value="1">true</option>
  286. <option value="0"
  287. <tmpl_if name="enable_bigboldwarning" value="0">
  288. selected
  289. </tmpl_if>
  290. >false</option>
  291. </select>
  292. </td>
  293. </tr>
  294. <tr>
  295. <td class="settingsText">
  296. Enable/disable drivespace warning when disk space low
  297. </td>
  298. </tr>
  299. <tr>
  300. <td class="settingsTitle">
  301. <label for="index_show_seeding">Show Seeding Torrents</label>
  302. </td>
  303. <td class="settingsSetting" rowspan="2">
  304. <select name="index_show_seeding" id="index_show_seeding">
  305. <option value="1">true</option>
  306. <option value="0"
  307. <tmpl_if name="index_show_seeding" value="0">
  308. selected
  309. </tmpl_if>
  310. >false</option>
  311. </select>
  312. </td>
  313. </tr>
  314. <tr>
  315. <td class="settingsText">
  316. Display seeding torrents on index page
  317. </td>
  318. </tr>
  319. <tr>
  320. <td class="settingsTitle">
  321. <label for="display_seeding_time">Estimated Time To Seed</label>
  322. </td>
  323. <td class="settingsSetting" rowspan="2">
  324. <select name="display_seeding_time" id="display_seeding_time">
  325. <option value="1">true</option>
  326. <option value="0"
  327. <tmpl_if name="display_seeding_time" value="0">
  328. selected
  329. </tmpl_if>
  330. >false</option>
  331. </select>
  332. </td>
  333. </tr>
  334. <tr>
  335. <td class="settingsText">
  336. Display the estimated time until transfers reach seeding cutoff ratio
  337. </td>
  338. </tr>
  339. <tr>
  340. <td class="settingsTitle">
  341. <label for="enable_sorttable">Transfer List Sorting</label>
  342. </td>
  343. <td class="settingsSetting" rowspan="2">
  344. <select name="enable_sorttable" id="enable_sorttable">
  345. <option value="1">true</option>
  346. <option value="0"
  347. <tmpl_if name="enable_sorttable" value="0">
  348. selected
  349. </tmpl_if>
  350. >false</option>
  351. </select>
  352. </td>
  353. </tr>
  354. <tr>
  355. <td class="settingsText">
  356. Enable/disable reordering of transfer list by clicking on column headings
  357. </td>
  358. </tr>
  359. <tr>
  360. <td class="settingsTitle">
  361. <label for="index_page_sortorder">Default Transfer List Sort Order</label>
  362. </td>
  363. <td class="settingsSetting" rowspan="2">
  364. <select name="index_page_sortorder" id="index_page_sortorder">
  365. <option value="da" <tmpl_if name="index_page_sortorder" value="da">selected</tmpl_if>>
  366. Date - Ascending
  367. </option>
  368. <option value="dd" <tmpl_if name="index_page_sortorder" value="dd">selected</tmpl_if>>
  369. Date - Descending
  370. </option>
  371. <option value="na" <tmpl_if name="index_page_sortorder" value="na">selected</tmpl_if>>
  372. Name - Ascending
  373. </option>
  374. <option value="nd" <tmpl_if name="index_page_sortorder" value="nd">selected</tmpl_if>>
  375. Name - Descending
  376. </option>
  377. </select>
  378. </td>
  379. </tr>
  380. <tr>
  381. <td class="settingsText">
  382. Select default sort order of transfers in transfer list
  383. </td>
  384. </tr>
  385. <tr>
  386. <td class="settingsTitle">
  387. Transfer List Display
  388. </td>
  389. <td class="settingsSetting" rowspan="2">
  390. <tmpl_include name="inc.indexPageSettingsForm.tmpl">
  391. </td>
  392. </tr>
  393. <tr>
  394. <td class="settingsText">
  395. Select the information to display in the transfer list
  396. </td>
  397. </tr>
  398. <tr>
  399. <td class="settingsTitle">
  400. <label for="transfer_window_default">Default Page In Transfer Settings Window</label>
  401. </td>
  402. <td class="settingsSetting" rowspan="2">
  403. <select name="transfer_window_default" id="transfer_window_default">
  404. <tmpl_loop name="transfer_window_default_list">
  405. <option value="<tmpl_var name="value">"<tmpl_if name="is_selected" value="1"> selected</tmpl_if>>
  406. <tmpl_var name="name">
  407. </option>
  408. </tmpl_loop>
  409. </select>
  410. </td>
  411. </tr>
  412. <tr>
  413. <td class="settingsText">
  414. Select the default page to display in the transfer settings window
  415. </td>
  416. </tr>
  417. <tr>
  418. <td class="settingsTitle">
  419. <label for="index_page_stats">Server Stats</label>
  420. </td>
  421. <td class="settingsSetting" rowspan="2">
  422. <select name="index_page_stats" id="index_page_stats">
  423. <option value="1">true</option>
  424. <option value="0"
  425. <tmpl_if name="index_page_stats" value="0">
  426. selected
  427. </tmpl_if>
  428. >false</option>
  429. </select>
  430. </td>
  431. </tr>
  432. <tr>
  433. <td class="settingsText">
  434. Enable/disable display of server stats on index page
  435. </td>
  436. </tr>
  437. <tr>
  438. <td class="settingsTitle">
  439. <label for="index_page_connections">Network Connections</label>
  440. </td>
  441. <td class="settingsSetting" rowspan="2">
  442. <select name="index_page_connections" id="index_page_connections">
  443. <option value="1">true</option>
  444. <option value="0"
  445. <tmpl_if name="index_page_connections" value="0">
  446. selected
  447. </tmpl_if>
  448. >false</option>
  449. </select>
  450. </td>
  451. </tr>
  452. <tr>
  453. <td class="settingsText">
  454. Enable/disable display of total network connections
  455. </td>
  456. </tr>
  457. <tr>
  458. <td class="settingsTitle">
  459. <label for="show_server_load">Show Server Load</label>
  460. </td>
  461. <td class="settingsSetting" rowspan="2">
  462. <select name="show_server_load" id="show_server_load">
  463. <option value="1">true</option>
  464. <option value="0"
  465. <tmpl_if name="show_server_load" value="0">
  466. selected
  467. </tmpl_if>
  468. >false</option>
  469. </select>
  470. </td>
  471. </tr>
  472. <tr>
  473. <td class="settingsText">
  474. Enable/disable display of average server load over the last 15 minutes
  475. </td>
  476. </tr>
  477. <tr>
  478. <td class="settingsTitle">
  479. <label for="drivespacebar">Drivespace Bar Style</label>
  480. </td>
  481. <td class="settingsSetting" rowspan="2">
  482. <select name="drivespacebar" id="drivespacebar">
  483. <option value="tf"
  484. <tmpl_if name="drivespacebar" value="tf">
  485. selected
  486. </tmpl_if>
  487. >tf</option>
  488. <option value="xfer"
  489. <tmpl_if name="drivespacebar" value="xfer">
  490. selected
  491. </tmpl_if>
  492. >xfer</option>
  493. </select>
  494. </td>
  495. </tr>
  496. <tr>
  497. <td class="settingsText">
  498. Select style of drivespace bar
  499. </td>
  500. </tr>
  501. <tr>
  502. <td class="settingsTitle">
  503. <label for="transferStatsType">Transfer Stats Window Update Method</label>
  504. </td>
  505. <td class="settingsSetting" rowspan="2">
  506. <select name="transferStatsType" id="transferStatsType">
  507. <option value="standard">standard</option>
  508. <option value="ajax"
  509. <tmpl_if name="transferStatsType" value="ajax">
  510. selected
  511. </tmpl_if>
  512. >ajax</option>
  513. </select>
  514. </td>
  515. </tr>
  516. <tr>
  517. <td class="settingsText">
  518. Select method to use to update transfer stats window
  519. </td>
  520. </tr>
  521. <tr>
  522. <td class="settingsTitle">
  523. <label for="transferStatsUpdate">Transfer Stats Window Update Interval</label>
  524. </td>
  525. <td class="settingsSetting" rowspan="2">
  526. <input name="transferStatsUpdate" id="transferStatsUpdate" type="Text" maxlength="3" value="<tmpl_var name="transferStatsUpdate">" size="3">
  527. </td>
  528. </tr>
  529. <tr>
  530. <td class="settingsText">
  531. Number of seconds between transfer stats updates
  532. </td>
  533. </tr>
  534. <tr>
  535. <td class="settingsTitle">
  536. <label for="transferHosts">Transfer Hosts</label>
  537. </td>
  538. <td class="settingsSetting" rowspan="2">
  539. <select name="transferHosts" id="transferHosts">
  540. <option value="1">Hostnames</option>
  541. <option value="0"
  542. <tmpl_if name="transferHosts" value="0">
  543. selected
  544. </tmpl_if>
  545. >IPs</option>
  546. </select>
  547. </td>
  548. </tr>
  549. <tr>
  550. <td class="settingsText">
  551. Enable/disable display of connected hosts in transfer hosts window
  552. </td>
  553. </tr>
  554. <tr>
  555. <td class="settingsTitle">
  556. <label for="servermon_update">Server Monitor Update Interval</label>
  557. </td>
  558. <td class="settingsSetting" rowspan="2">
  559. <input name="servermon_update" id="servermon_update" type="Text" maxlength="3" value="<tmpl_var name="servermon_update">" size="3">
  560. </td>
  561. </tr>
  562. <tr>
  563. <td class="settingsText">
  564. Number of seconds between server monitor updates for server monitor update
  565. </td>
  566. </tr>
  567. <tr>
  568. <td class="settingsTitle">
  569. </td>
  570. <td class="settingsSetting">
  571. <input type="Submit" value="Update Settings">
  572. </td>
  573. </tr>
  574. </table>
  575. </form>