/upload/templates/admin/admin_bt_forum_cfg.tpl

http://torrentpier2.googlecode.com/ · Smarty Template · 178 lines · 166 code · 12 blank · 0 comment · 0 complexity · 8c219b5c33c46c310f58eb09d4591007 MD5 · raw file

  1. <h1>{L_FORUM_CFG_TITLE}</h1>
  2. <form action="{S_CONFIG_ACTION}" method="post">
  3. {S_HIDDEN_FIELDS}
  4. <table class="forumline wAuto">
  5. <col class="row4">
  6. <col class="row5">
  7. <col class="row4">
  8. <tr>
  9. <th colspan="3">{L_BT_SELECT_FORUMS}</th>
  10. </tr>
  11. <tr class="row2 tCenter">
  12. <td>{L_ALLOW_REG_TRACKER} <input onclick="$('select').each(function(){ this.size += 5; }); return false;" class="mainoption" type="button" value="+" /></td>
  13. <td>{L_SELF_MODERATED}</td>
  14. <td>{L_ALLOW_PORNO_TOPIC}</td>
  15. </tr>
  16. <tr class="tCenter">
  17. <td>{S_ALLOW_REG_TRACKER}</td>
  18. <td>{S_SELF_MODERATED}</td>
  19. <td>{S_ALLOW_PORNO_TOPIC}</td>
  20. </tr>
  21. <tr class="row2 tCenter">
  22. <td colspan="3" class="small">{L_BT_SELECT_FORUMS_EXPL}</td>
  23. </tr>
  24. </table>
  25. <div class="spacer_12"></div>
  26. <table class="forumline">
  27. <col class="row1">
  28. <col class="row2">
  29. <tr>
  30. <th colspan="2">{L_BT_ANNOUNCE_URL_HEAD}</th>
  31. </tr>
  32. <tr>
  33. <td><h4>{L_BT_ANNOUNCE_URL}</h4><h6>{L_BT_ANNOUNCE_URL_EXPL}</h6></td>
  34. <td><input class="post" type="text" size="30" maxlength="255" name="bt_announce_url" value="{BT_ANNOUNCE_URL}" /></td>
  35. </tr>
  36. <tr>
  37. <td><h4>{L_BT_DISABLE_DHT}</h4><h6>{L_BT_DISABLE_DHT_EXPL}</h6></td>
  38. <td><label for="bt_disable_dht1"><input type="radio" name="bt_disable_dht" id="bt_disable_dht1" value="1" {BT_DISABLE_DHT_YES} /> {L_BT_DISABLE_DHT_YES}&nbsp;</label><label for="bt_disable_dht2">&nbsp;<input type="radio" name="bt_disable_dht" id="bt_disable_dht2" value="0" {BT_DISABLE_DHT_NO} /> {L_BT_DISABLE_DHT_NO} &nbsp;</label></td>
  39. </tr>
  40. <tr>
  41. <td><h4>{L_BT_CHECK_ANNOUNCE_URL}</h4><h6>{L_BT_CHECK_ANNOUNCE_URL_EXPL}</h6></td>
  42. <td><label for="bt_check_announce_url1"><input type="radio" name="bt_check_announce_url" id="bt_check_announce_url1" value="1" {BT_CHECK_ANNOUNCE_URL_YES} /> {L_BT_CHECK_ANNOUNCE_URL_YES}&nbsp;</label><label for="bt_check_announce_url2">&nbsp;<input type="radio" name="bt_check_announce_url" id="bt_check_announce_url2" value="0" {BT_CHECK_ANNOUNCE_URL_NO} /> {L_BT_CHECK_ANNOUNCE_URL_NO} &nbsp;</label></td>
  43. </tr>
  44. <tr>
  45. <td><h4>{L_BT_REPLACE_ANN_URL}</h4><h6>{L_BT_REPLACE_ANN_URL_EXPL}</h6></td>
  46. <td><label for="bt_replace_ann_url1"><input type="radio" name="bt_replace_ann_url" id="bt_replace_ann_url1" value="1" {BT_REPLACE_ANN_URL_YES} /> {L_BT_REPLACE_ANN_URL_YES}&nbsp;</label><label for="bt_replace_ann_url2">&nbsp;<input type="radio" name="bt_replace_ann_url" id="bt_replace_ann_url2" value="0" {BT_REPLACE_ANN_URL_NO} /> {L_BT_REPLACE_ANN_URL_NO} &nbsp;</label></td>
  47. </tr>
  48. <tr>
  49. <td><h4>{L_BT_DEL_ADDIT_ANN_URLS}</h4><h6>{L_BT_DEL_ADDIT_ANN_URLS_EXPL}</h6></td>
  50. <td><label for="bt_del_addit_ann_urls1"><input type="radio" name="bt_del_addit_ann_urls" id="bt_del_addit_ann_urls1" value="1" {BT_DEL_ADDIT_ANN_URLS_YES} /> {L_BT_DEL_ADDIT_ANN_URLS_YES}&nbsp;</label><label for="bt_del_addit_ann_urls2">&nbsp;<input type="radio" name="bt_del_addit_ann_urls" id="bt_del_addit_ann_urls2" value="0" {BT_DEL_ADDIT_ANN_URLS_NO} /> {L_BT_DEL_ADDIT_ANN_URLS_NO} &nbsp;</label></td>
  51. </tr>
  52. <tr>
  53. <th colspan="2">{L_BT_SHOW_PEERS_HEAD}</th>
  54. </tr>
  55. <tr>
  56. <td><h4>{L_BT_SHOW_PEERS}</h4><h6>{L_BT_SHOW_PEERS_EXPL}</h6></td>
  57. <td><label for="bt_show_peers1"><input type="radio" name="bt_show_peers" id="bt_show_peers1" value="1" {BT_SHOW_PEERS_YES} /> {L_BT_SHOW_PEERS_YES}&nbsp;</label><label for="bt_show_peers2">&nbsp;<input type="radio" name="bt_show_peers" id="bt_show_peers2" value="0" {BT_SHOW_PEERS_NO} /> {L_BT_SHOW_PEERS_NO} &nbsp;</label></td>
  58. </tr>
  59. <tr>
  60. <td><h4>{L_BT_SHOW_PEERS_MODE}</h4></td>
  61. <td>
  62. <div><label for="bt_show_peers_mode_count"><input type="radio" name="bt_show_peers_mode" id="bt_show_peers_mode_count" value="{BT_SHOW_PEERS_MODE_COUNT_VAL}" {BT_SHOW_PEERS_MODE_COUNT_SEL} /> {L_BT_SHOW_PEERS_MODE_COUNT}&nbsp;</label></div>
  63. <div><label for="bt_show_peers_mode_names"><input type="radio" name="bt_show_peers_mode" id="bt_show_peers_mode_names" value="{BT_SHOW_PEERS_MODE_NAMES_VAL}" {BT_SHOW_PEERS_MODE_NAMES_SEL} /> {L_BT_SHOW_PEERS_MODE_NAMES}&nbsp;</label></div>
  64. <div><label for="bt_show_peers_mode_full"><input type="radio" name="bt_show_peers_mode" id="bt_show_peers_mode_full" value="{BT_SHOW_PEERS_MODE_FULL_VAL}" {BT_SHOW_PEERS_MODE_FULL_SEL} /> {L_BT_SHOW_PEERS_MODE_FULL}&nbsp;</label></div>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td><h4>{L_BT_ALLOW_SPMODE_CHANGE}</h4><h6>{L_BT_ALLOW_SPMODE_CHANGE_EXPL}</h6></td>
  69. <td><label for="bt_allow_spmode_change1"><input type="radio" name="bt_allow_spmode_change" id="bt_allow_spmode_change1" value="1" {BT_ALLOW_SPMODE_CHANGE_YES} /> {L_BT_ALLOW_SPMODE_CHANGE_YES}&nbsp;</label><label for="bt_allow_spmode_change2">&nbsp;<input type="radio" name="bt_allow_spmode_change" id="bt_allow_spmode_change2" value="0" {BT_ALLOW_SPMODE_CHANGE_NO} /> {L_BT_ALLOW_SPMODE_CHANGE_NO} &nbsp;</label></td>
  70. </tr>
  71. <tr>
  72. <td><h4>{L_BT_SHOW_IP_ONLY_MODER}</h4></td>
  73. <td><label for="bt_show_ip_only_moder1"><input type="radio" name="bt_show_ip_only_moder" id="bt_show_ip_only_moder1" value="1" {BT_SHOW_IP_ONLY_MODER_YES} /> {L_BT_SHOW_IP_ONLY_MODER_YES}&nbsp;</label><label for="bt_show_ip_only_moder2">&nbsp;<input type="radio" name="bt_show_ip_only_moder" id="bt_show_ip_only_moder2" value="0" {BT_SHOW_IP_ONLY_MODER_NO} /> {L_BT_SHOW_IP_ONLY_MODER_NO} &nbsp;</label></td>
  74. </tr>
  75. <tr>
  76. <td><h4>{L_BT_SHOW_PORT_ONLY_MODER}</h4></td>
  77. <td><label for="bt_show_port_only_moder1"><input type="radio" name="bt_show_port_only_moder" id="bt_show_port_only_moder1" value="1" {BT_SHOW_PORT_ONLY_MODER_YES} /> {L_BT_SHOW_PORT_ONLY_MODER_YES}&nbsp;</label><label for="bt_show_port_only_moder2">&nbsp;<input type="radio" name="bt_show_port_only_moder" id="bt_show_port_only_moder2" value="0" {BT_SHOW_PORT_ONLY_MODER_NO} /> {L_BT_SHOW_PORT_ONLY_MODER_NO} &nbsp;</label></td>
  78. </tr>
  79. <tr>
  80. <th colspan="2">{L_BT_SHOW_DL_LIST_HEAD}</th>
  81. </tr>
  82. <tr>
  83. <td><h4>{L_BT_SHOW_DL_LIST}</h4></td>
  84. <td><label for="bt_show_dl_list1"><input type="radio" name="bt_show_dl_list" id="bt_show_dl_list1" value="1" {BT_SHOW_DL_LIST_YES} /> {L_BT_SHOW_DL_LIST_YES}&nbsp;</label><label for="bt_show_dl_list2">&nbsp;<input type="radio" name="bt_show_dl_list" id="bt_show_dl_list2" value="0" {BT_SHOW_DL_LIST_NO} /> {L_BT_SHOW_DL_LIST_NO} &nbsp;</label></td>
  85. </tr>
  86. <tr>
  87. <td><h4>{L_BT_DL_LIST_ONLY_1ST_PAGE}</h4></td>
  88. <td><label for="bt_dl_list_only_1st_page1"><input type="radio" name="bt_dl_list_only_1st_page" id="bt_dl_list_only_1st_page1" value="1" {BT_DL_LIST_ONLY_1ST_PAGE_YES} /> {L_BT_DL_LIST_ONLY_1ST_PAGE_YES}&nbsp;</label><label for="bt_dl_list_only_1st_page2">&nbsp;<input type="radio" name="bt_dl_list_only_1st_page" id="bt_dl_list_only_1st_page2" value="0" {BT_DL_LIST_ONLY_1ST_PAGE_NO} /> {L_BT_DL_LIST_ONLY_1ST_PAGE_NO} &nbsp;</label></td>
  89. </tr>
  90. <tr>
  91. <td><h4>{L_BT_DL_LIST_ONLY_COUNT}</h4></td>
  92. <td><label for="bt_dl_list_only_count1"><input type="radio" name="bt_dl_list_only_count" id="bt_dl_list_only_count1" value="1" {BT_DL_LIST_ONLY_COUNT_YES} /> {L_BT_DL_LIST_ONLY_COUNT_YES}&nbsp;</label><label for="bt_dl_list_only_count2">&nbsp;<input type="radio" name="bt_dl_list_only_count" id="bt_dl_list_only_count2" value="0" {BT_DL_LIST_ONLY_COUNT_NO} /> {L_BT_DL_LIST_ONLY_COUNT_NO} &nbsp;</label></td>
  93. </tr>
  94. <tr>
  95. <td>
  96. <h4>{L_BT_SHOW_DL_LIST_BUTTONS}</h4>
  97. <table class="forumline wAuto med" style="margin: 4px 12px;">
  98. <col class="row1">
  99. <col class="row2">
  100. <tr>
  101. <td><b>{L_BT_SHOW_DL_BUT_WILL}</b></td>
  102. <td><label for="bt_show_dl_but_will1"><input type="radio" name="bt_show_dl_but_will" id="bt_show_dl_but_will1" value="1" {BT_SHOW_DL_BUT_WILL_YES} /> {L_BT_SHOW_DL_BUT_WILL_YES}&nbsp;</label><label for="bt_show_dl_but_will2">&nbsp;<input type="radio" name="bt_show_dl_but_will" id="bt_show_dl_but_will2" value="0" {BT_SHOW_DL_BUT_WILL_NO} /> {L_BT_SHOW_DL_BUT_WILL_NO} &nbsp;</label></td>
  103. </tr>
  104. <tr>
  105. <td><b>{L_BT_SHOW_DL_BUT_DOWN}</b></td>
  106. <td><label for="bt_show_dl_but_down1"><input type="radio" name="bt_show_dl_but_down" id="bt_show_dl_but_down1" value="1" {BT_SHOW_DL_BUT_DOWN_YES} /> {L_BT_SHOW_DL_BUT_DOWN_YES}&nbsp;</label><label for="bt_show_dl_but_down2">&nbsp;<input type="radio" name="bt_show_dl_but_down" id="bt_show_dl_but_down2" value="0" {BT_SHOW_DL_BUT_DOWN_NO} /> {L_BT_SHOW_DL_BUT_DOWN_NO} &nbsp;</label></td>
  107. </tr>
  108. <tr>
  109. <td><b>{L_BT_SHOW_DL_BUT_COMPL}</b></td>
  110. <td><label for="bt_show_dl_but_compl1"><input type="radio" name="bt_show_dl_but_compl" id="bt_show_dl_but_compl1" value="1" {BT_SHOW_DL_BUT_COMPL_YES} /> {L_BT_SHOW_DL_BUT_COMPL_YES}&nbsp;</label><label for="bt_show_dl_but_compl2">&nbsp;<input type="radio" name="bt_show_dl_but_compl" id="bt_show_dl_but_compl2" value="0" {BT_SHOW_DL_BUT_COMPL_NO} /> {L_BT_SHOW_DL_BUT_COMPL_NO} &nbsp;</label></td>
  111. </tr>
  112. <tr>
  113. <td><b>{L_BT_SHOW_DL_BUT_CANCEL}</b></td>
  114. <td><label for="bt_show_dl_but_cancel1"><input type="radio" name="bt_show_dl_but_cancel" id="bt_show_dl_but_cancel1" value="1" {BT_SHOW_DL_BUT_CANCEL_YES} /> {L_BT_SHOW_DL_BUT_CANCEL_YES}&nbsp;</label><label for="bt_show_dl_but_cancel2">&nbsp;<input type="radio" name="bt_show_dl_but_cancel" id="bt_show_dl_but_cancel2" value="0" {BT_SHOW_DL_BUT_CANCEL_NO} /> {L_BT_SHOW_DL_BUT_CANCEL_NO} &nbsp;</label></td>
  115. </tr>
  116. </table>
  117. </td>
  118. <td><label for="bt_show_dl_list_buttons1"><input type="radio" name="bt_show_dl_list_buttons" id="bt_show_dl_list_buttons1" value="1" {BT_SHOW_DL_LIST_BUTTONS_YES} /> {L_BT_SHOW_DL_LIST_BUTTONS_YES}&nbsp;</label><label for="bt_show_dl_list_buttons2">&nbsp;<input type="radio" name="bt_show_dl_list_buttons" id="bt_show_dl_list_buttons2" value="0" {BT_SHOW_DL_LIST_BUTTONS_NO} /> {L_BT_SHOW_DL_LIST_BUTTONS_NO} &nbsp;</label></td>
  119. </tr>
  120. <tr>
  121. <td><h4>{L_BT_SET_DLTYPE_ON_TOR_REG}</h4><h6>{L_BT_SET_DLTYPE_ON_TOR_REG_EXPL}</h6></td>
  122. <td><label for="bt_set_dltype_on_tor_reg1"><input type="radio" name="bt_set_dltype_on_tor_reg" id="bt_set_dltype_on_tor_reg1" value="1" {BT_SET_DLTYPE_ON_TOR_REG_YES} /> {L_BT_SET_DLTYPE_ON_TOR_REG_YES}&nbsp;</label><label for="bt_set_dltype_on_tor_reg2">&nbsp;<input type="radio" name="bt_set_dltype_on_tor_reg" id="bt_set_dltype_on_tor_reg2" value="0" {BT_SET_DLTYPE_ON_TOR_REG_NO} /> {L_BT_SET_DLTYPE_ON_TOR_REG_NO} &nbsp;</label></td>
  123. </tr>
  124. <tr>
  125. <td><h4>{L_BT_UNSET_DLTYPE_ON_TOR_UNREG}</h4></td>
  126. <td><label for="bt_unset_dltype_on_tor_unreg1"><input type="radio" name="bt_unset_dltype_on_tor_unreg" id="bt_unset_dltype_on_tor_unreg1" value="1" {BT_UNSET_DLTYPE_ON_TOR_UNREG_YES} /> {L_BT_UNSET_DLTYPE_ON_TOR_UNREG_YES}&nbsp;</label><label for="bt_unset_dltype_on_tor_unreg2">&nbsp;<input type="radio" name="bt_unset_dltype_on_tor_unreg" id="bt_unset_dltype_on_tor_unreg2" value="0" {BT_UNSET_DLTYPE_ON_TOR_UNREG_NO} /> {L_BT_UNSET_DLTYPE_ON_TOR_UNREG_NO} &nbsp;</label></td>
  127. </tr>
  128. <tr>
  129. <th colspan="2">{L_BT_ADD_AUTH_KEY_HEAD}</th>
  130. </tr>
  131. <tr>
  132. <td><h4>{L_BT_ADD_AUTH_KEY}</h4></td>
  133. <td><label for="bt_add_auth_key1"><input type="radio" name="bt_add_auth_key" id="bt_add_auth_key1" value="1" {BT_ADD_AUTH_KEY_YES} /> {L_BT_ADD_AUTH_KEY_YES}&nbsp;</label><label for="bt_add_auth_key2">&nbsp;<input type="radio" name="bt_add_auth_key" id="bt_add_auth_key2" value="0" {BT_ADD_AUTH_KEY_NO} /> {L_BT_ADD_AUTH_KEY_NO} &nbsp;</label></td>
  134. </tr>
  135. <tr>
  136. <th colspan="2">{L_BT_TOR_BROWSE_ONLY_REG_HEAD}</th>
  137. </tr>
  138. <tr>
  139. <td><h4>{L_BT_TOR_BROWSE_ONLY_REG}</h4></td>
  140. <td><label for="bt_tor_browse_only_reg1"><input type="radio" name="bt_tor_browse_only_reg" id="bt_tor_browse_only_reg1" value="1" {BT_TOR_BROWSE_ONLY_REG_YES} /> {L_BT_TOR_BROWSE_ONLY_REG_YES}&nbsp;</label><label for="bt_tor_browse_only_reg2">&nbsp;<input type="radio" name="bt_tor_browse_only_reg" id="bt_tor_browse_only_reg2" value="0" {BT_TOR_BROWSE_ONLY_REG_NO} /> {L_BT_TOR_BROWSE_ONLY_REG_NO} &nbsp;</label></td>
  141. </tr>
  142. <tr>
  143. <td><h4>{L_BT_SEARCH_BOOL_MODE}</h4><h6>{L_BT_SEARCH_BOOL_MODE_EXPL}</h6></td>
  144. <td><label for="bt_search_bool_mode1"><input type="radio" name="bt_search_bool_mode" id="bt_search_bool_mode1" value="1" {BT_SEARCH_BOOL_MODE_YES} /> {L_BT_SEARCH_BOOL_MODE_YES}&nbsp;</label><label for="bt_search_bool_mode2">&nbsp;<input type="radio" name="bt_search_bool_mode" id="bt_search_bool_mode2" value="0" {BT_SEARCH_BOOL_MODE_NO} /> {L_BT_SEARCH_BOOL_MODE_NO} &nbsp;</label></td>
  145. </tr>
  146. <tr>
  147. <th colspan="2">{L_BT_SHOW_DL_STAT_ON_INDEX_HEAD}</th>
  148. </tr>
  149. <tr>
  150. <td><h4>{L_BT_SHOW_DL_STAT_ON_INDEX}</h4></td>
  151. <td><label for="bt_show_dl_stat_on_index1"><input type="radio" name="bt_show_dl_stat_on_index" id="bt_show_dl_stat_on_index1" value="1" {BT_SHOW_DL_STAT_ON_INDEX_YES} /> {L_BT_SHOW_DL_STAT_ON_INDEX_YES}&nbsp;</label><label for="bt_show_dl_stat_on_index2">&nbsp;<input type="radio" name="bt_show_dl_stat_on_index" id="bt_show_dl_stat_on_index2" value="0" {BT_SHOW_DL_STAT_ON_INDEX_NO} /> {L_BT_SHOW_DL_STAT_ON_INDEX_NO} &nbsp;</label></td>
  152. </tr>
  153. <tr>
  154. <td><h4>{L_BT_NEWTOPIC_AUTO_REG}</h4></td>
  155. <td><label for="bt_newtopic_auto_reg1"><input type="radio" name="bt_newtopic_auto_reg" id="bt_newtopic_auto_reg1" value="1" {BT_NEWTOPIC_AUTO_REG_YES} /> {L_BT_NEWTOPIC_AUTO_REG_YES}&nbsp;</label><label for="bt_newtopic_auto_reg2">&nbsp;<input type="radio" name="bt_newtopic_auto_reg" id="bt_newtopic_auto_reg2" value="0" {BT_NEWTOPIC_AUTO_REG_NO} /> {L_BT_NEWTOPIC_AUTO_REG_NO} &nbsp;</label></td>
  156. </tr>
  157. <tr>
  158. <td colspan="2" class="catBottom">
  159. <input type="reset" value="{L_RESET}" class="liteoption" />&nbsp;&nbsp;
  160. <input type="submit" name="submit" id="send" value="{L_SUBMIT}" class="mainoption" disabled="disabled" />&nbsp;&nbsp;
  161. <label for="confirm">{L_CONFIRM}&nbsp;<input onclick="toggle_disabled('send', this.checked)" id="confirm" type="checkbox" name="confirm" value="1" /></label>
  162. </td>
  163. </tr>
  164. </table>
  165. </form>
  166. <br clear="all" />