pjs/suite/common/pref/pref-proxies.xul

49 строки
2.0 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/dialogs.css" type="text/css"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY title.label "Sample Prefs Panel">
<!ENTITY proxiesHeader.label "Proxies">
<!ENTITY networkHeader.label "A network proxy is used to provide additional security between your
computer and the Internet (usually along with a firewall) and/or to increase
performance between networks by reducing redundant traffic via caching.">
<!ENTITY directTypeRadio.label "Direct connection to the Internet">
<!ENTITY manualTypeRadio.label "Manual proxy configuration">
<!ENTITY autoTypeRadio.label "Automatic proxy configuration">
<!ENTITY configAutoconfigText.label "Configuration location (URL):">
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="return StartUp('Proxies');" title="Sample Prefs Panel">
<html:script language="javascript" src="PrefsWindow.js"/>
<html:div flex="100%">
<html:div ID="top">
<html:SPAN ID="lefttext">&proxiesHeader.label;</html:SPAN>
</html:div>
<html:table>
&networkHeader.label;
<html:tr><html:td><html:label>
<html:input name="conntype" type="radio" checked="true" id="pref:3:int:network.proxy.type" />&directTypeRadio.label;
</html:label></html:td></html:tr>
<html:tr><html:td><html:label>
<html:input name="conntype" type="radio" id="pref:1:int:network.proxy.type" />&manualTypeRadio.label;
</html:label></html:td></html:tr>
<html:tr><html:td><html:label>
<html:input name="conntype" type="radio" id="pref:2:int:network.proxy.type" />&autoTypeRadio.label;
</html:label></html:td></html:tr>
<html:tr><html:td><html:label>&configAutoconfigText.label;
<html:input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url" />
</html:label></html:td></html:tr>
</html:table>
</html:div>
</window>