blob: 1a1cb010ccc7dabbbfc202acf182c21ca83661c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://mproxy/locale/locale.dtd">
<dialog buttons="accept, cancel"
id="mproxyCookieDialog"
ondialogaccept="return mproxy_saveProxy()"
ondialogcancel="mproxy_openerFocus(); return true;"
onload="mproxy_initVals();"
title="&add.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://mproxy/content/globals.js"></script>
<script type="application/x-javascript" src="chrome://mproxy/content/datasource.js"></script>
<script type="application/x-javascript" src="chrome://mproxy/content/dialogs/editcommon.js"></script>
<script type="application/x-javascript" src="chrome://mproxy/content/dialogs/editproxy.js"></script>
<hbox>
<label value="&add.proxyLabel;" id="proxy-name-label" />
<textbox id="proxy-name" size="30" flex="0" />
</hbox>
<groupbox>
<radiogroup id="networkProxyType" value="1" persist="value">
<radio value="1" label="&add.option.manual;" oncommand="mproxy_enableOptions();" id="type-manual-radio" />
<grid class="indent" flex="1">
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row align="center">
<hbox align="center" pack="end">
<label value="&add.http.proxy.label;" accesskey="&add.http.proxy.key;" control="networkProxyHTTP"/>
</hbox>
<hbox align="center">
<textbox id="networkProxyHTTP" flex="1" oninput="mproxy_copySetting();"/>
<label value="&add.port.label;" control="networkProxyHTTP_Port"/>
<textbox id="networkProxyHTTP_Port" size="5" oninput="mproxy_copySetting();"/>
</hbox>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value=""/>
</hbox>
<hbox align="center">
<checkbox id="networkProxyHTTPShare" label ="&add.sharing.proxy.label;" checked="false" oncommand="mproxy_enableShareSettingSelect();"/>
</hbox>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value="&add.ssl.proxy.label;" accesskey="&add.ssl.proxy.key;" control="networkProxySSL"/>
</hbox>
<hbox align="center">
<textbox id="networkProxySSL" flex="1"/>
<label value="&add.port.label;" control="networkProxySSL_Port"/>
<textbox id="networkProxySSL_Port" size="5"/>
</hbox>
</row>
<row align="center" id="ftp_row">
<hbox align="center" pack="end">
<label value="&add.ftp.proxy.label;" accesskey="&add.ftp.proxy.key;" control="networkProxyFTP"/>
</hbox>
<hbox align="center">
<textbox id="networkProxyFTP" flex="1"/>
<label value="&add.port.label;" control="networkProxyFTP_Port"/>
<textbox id="networkProxyFTP_Port" size="5"/>
</hbox>
</row>
<row align="center" id="gopher_row">
<hbox align="center" pack="end">
<label value="&add.gopher.proxy.label;" accesskey="&add.gopher.proxy.key;" control="networkProxyGopher"/>
</hbox>
<hbox align="center">
<textbox id="networkProxyGopher" flex="1"/>
<label value="&add.port.label;" control="networkProxyGopher_Port"/>
<textbox id="networkProxyGopher_Port" size="5"/>
</hbox>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value="&add.socks.proxy.label;" accesskey="&add.socks.proxy.key;" control="networkProxySOCKS"/>
</hbox>
<hbox align="center">
<textbox id="networkProxySOCKS" flex="1"/>
<label value="&add.port.label;" control="networkProxySOCKS_Port"/>
<textbox id="networkProxySOCKS_Port" size="5"/>
</hbox>
</row>
<row>
<spacer/>
<radiogroup id="networkProxySOCKSVersion" orient="horizontal">
<radio id="networkProxySOCKSVersion4" value="4" label="&add.socks.option.v4;" />
<radio id="networkProxySOCKSVersion5" value="5" label="&add.socks.option.v5;" />
</radiogroup>
</row>
<row align="center" id="none_row">
<hbox align="center" pack="end">
<label value="&add.none.label;" accesskey="&add.none.key;" control="networkProxyNone"/>
</hbox>
<textbox id="networkProxyNone" value="localhost, 127.0.0.1" />
</row>
<row id="none_example_row">
<spacer/>
<label value="&add.none.example;" control="networkProxyNone"/>
</row>
</rows>
</grid>
<radio value="2" label="&add.option.auto;" oncommand="mproxy_enableOptions();" id="type-auto-radio" />
<textbox id="networkProxyAutoconfigURL" size="50" flex="0" disabled="true" />
</radiogroup>
</groupbox>
</dialog>
|