PageRenderTime 46ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/floater_preferences_proxy.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 275 lines | 275 code | 0 blank | 0 comment | 0 complexity | b1a16d62347fce54cefebd58003e9d3b MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <floater
  3. legacy_header_height="18"
  4. height="500"
  5. layout="topleft"
  6. name="Proxy Settings Floater"
  7. help_topic="proxysettings"
  8. title="Proxy Settings"
  9. width="500">
  10. <check_box
  11. control_name="BrowserProxyEnabled"
  12. top="38"
  13. enabled="true"
  14. follows="left|top"
  15. height="14"
  16. initial_value="false"
  17. commit_callback.function="Proxy.Change"
  18. label="Use HTTP Proxy for Web pages"
  19. left="22"
  20. mouse_opaque="true"
  21. name="web_proxy_enabled"
  22. radio_style="false"
  23. width="400"
  24. top_pad="5" />
  25. <text
  26. type="string"
  27. length="1"
  28. follows="left|top"
  29. height="10"
  30. left_delta="23"
  31. layout="topleft"
  32. name="http_proxy_label"
  33. top_pad="10"
  34. width="300">
  35. HTTP Proxy:
  36. </text>
  37. <line_editor
  38. control_name="BrowserProxyAddress"
  39. enabled_control="BrowserProxyEnabled"
  40. follows="left|top"
  41. font="SansSerif"
  42. height="23"
  43. layout="topleft"
  44. left_delta="0"
  45. name="web_proxy_editor"
  46. tool_tip="The DNS name or IP address of the HTTP proxy you would like to use."
  47. top_pad="4"
  48. width="200" />
  49. <spinner
  50. control_name="BrowserProxyPort"
  51. enabled_control="BrowserProxyEnabled"
  52. decimal_digits="0"
  53. follows="left|top"
  54. height="23"
  55. increment="1"
  56. initial_value="80"
  57. label="Port number:"
  58. label_width="95"
  59. layout="topleft"
  60. left_delta="210"
  61. max_val="12000"
  62. min_val="10"
  63. name="web_proxy_port"
  64. top_delta="0"
  65. tool_tip="The port of the HTTP proxy you would like to use."
  66. width="145" />
  67. <check_box
  68. control_name="Socks5ProxyEnabled"
  69. height="16"
  70. label="Use SOCKS 5 Proxy for UDP traffic"
  71. layout="topleft"
  72. left="22"
  73. name="socks_proxy_enabled"
  74. top_pad="32"
  75. width="256"
  76. commit_callback.function="Proxy.Change" />
  77. <text
  78. type="string"
  79. length="1"
  80. follows="left|top"
  81. height="10"
  82. layout="topleft"
  83. left_delta="23"
  84. name="socks5_proxy_label"
  85. top_pad="10"
  86. width="300">
  87. SOCKS 5 Proxy:
  88. </text>
  89. <line_editor
  90. control_name="Socks5ProxyHost"
  91. enabled_control="Socks5ProxyEnabled"
  92. follows="left|top"
  93. font="SansSerif"
  94. height="23"
  95. layout="topleft"
  96. left_delta="0"
  97. name="socks_proxy_editor"
  98. tool_tip="The DNS name or IP address of the SOCKS 5 proxy you would like to use."
  99. top_pad="4"
  100. width="200"
  101. commit_callback.function="Proxy.Change" />
  102. <spinner
  103. control_name="Socks5ProxyPort"
  104. enabled_control="Socks5ProxyEnabled"
  105. decimal_digits="0"
  106. follows="left|top"
  107. height="23"
  108. increment="1"
  109. initial_value="80"
  110. label="Port number:"
  111. label_width="95"
  112. layout="topleft"
  113. left_delta="210"
  114. max_val="12000"
  115. min_val="10"
  116. name="socks_proxy_port"
  117. top_delta="0"
  118. width="145"
  119. tool_tip="The port of the SOCKS 5 proxy you would like to use."
  120. commit_callback.function="Proxy.Change" />
  121. <text
  122. type="string"
  123. length="1"
  124. follows="left|top"
  125. height="10"
  126. layout="topleft"
  127. left="40"
  128. name="socks_auth_label"
  129. top_pad="15"
  130. width="300">
  131. SOCKS Authentication:
  132. </text>
  133. <radio_group
  134. control_name="Socks5AuthType"
  135. enabled_control="Socks5ProxyEnabled"
  136. height="50"
  137. layout="topleft"
  138. name="socks5_auth_type"
  139. top_pad="10"
  140. width="120"
  141. commit_callback.function="Proxy.Change" >
  142. <radio_item
  143. height="16"
  144. label="No Authentication"
  145. layout="topleft"
  146. name="Socks5NoAuth"
  147. value="None"
  148. tool_tip="Socks5 proxy requires no authentication."
  149. width="120" />
  150. <radio_item
  151. height="16"
  152. label="Username/Password"
  153. layout="topleft"
  154. name="Socks5UserPass"
  155. value="UserPass"
  156. tool_tip="Socks5 proxy requires username/password authentication."
  157. width="120" />
  158. </radio_group>
  159. <text
  160. type="string"
  161. length="1"
  162. follows="left|top"
  163. height="10"
  164. layout="topleft"
  165. left_delta="20"
  166. name="socks5_username_label"
  167. top_delta="50"
  168. width="200">
  169. Username:
  170. </text>
  171. <text
  172. type="string"
  173. length="1"
  174. follows="left|top"
  175. height="10"
  176. left_pad="15"
  177. layout="topleft"
  178. name="socks5_password_label"
  179. width="200">
  180. Password:
  181. </text>
  182. <line_editor
  183. follows="left|top"
  184. font="SansSerif"
  185. height="23"
  186. layout="topleft"
  187. left="60"
  188. name="socks5_username"
  189. tool_tip="The username used to authenticate with your SOCKS 5 server"
  190. top_pad="4"
  191. width="200"
  192. commit_callback.function="Proxy.Change" />
  193. <line_editor
  194. follows="left|top"
  195. font="SansSerif"
  196. height="23"
  197. layout="topleft"
  198. left_pad="15"
  199. name="socks5_password"
  200. tool_tip="The password used to authenticate with your SOCKS 5 server"
  201. top_delta="0"
  202. width="200"
  203. is_password="true"
  204. commit_callback.function="Proxy.Change" />
  205. <text
  206. type="string"
  207. length="1"
  208. follows="left|top"
  209. height="10"
  210. layout="topleft"
  211. left="25"
  212. name="other_proxy_label"
  213. top_pad="18"
  214. width="300">
  215. Other HTTP traffic proxy:
  216. </text>
  217. <radio_group
  218. control_name="HttpProxyType"
  219. name="other_http_proxy_type"
  220. height="60"
  221. layout="topleft"
  222. top_pad="9"
  223. width="120"
  224. left_delta="15"
  225. commit_callback.function="Proxy.Change" >
  226. <radio_item
  227. height="16"
  228. label="Do not proxy"
  229. layout="topleft"
  230. name="OtherNoProxy"
  231. value="None"
  232. width="120"
  233. tool_tip="Non-web HTTP traffic will NOT be sent to any proxy."/>
  234. <radio_item
  235. height="16"
  236. label="Use HTTP Proxy"
  237. layout="topleft"
  238. name="OtherHTTPProxy"
  239. value="Web"
  240. width="120"
  241. enabled_control="BrowserProxyEnabled"
  242. tool_tip="Non-web HTTP will be sent through the configured Web proxy." />
  243. <radio_item
  244. height="16"
  245. label="Use SOCKS 5 Proxy"
  246. layout="topleft"
  247. name="OtherSocksProxy"
  248. value="Socks"
  249. width="120"
  250. enabled_control="Socks5ProxyEnabled"
  251. tool_tip="Non-web HTTP traffic will be sent through the configured Socks 5 proxy."/>
  252. </radio_group>
  253. <button
  254. follows="left|top"
  255. height="22"
  256. label="OK"
  257. label_selected="OK"
  258. layout="topleft"
  259. left="282"
  260. name="OK"
  261. top_pad="36"
  262. width="90"
  263. commit_callback.function="Proxy.OK" />
  264. <button
  265. follows="left|top"
  266. height="22"
  267. label="Cancel"
  268. label_selected="Cancel"
  269. layout="topleft"
  270. left_pad="10"
  271. name="Cancel"
  272. top_delta="0"
  273. width="90"
  274. commit_callback.function="Proxy.Cancel" />
  275. </floater>