174 lines
7.7 KiB
XML
174 lines
7.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
#define PROVISIONAL_SECURITY_UI
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
|
|
|
|
<!DOCTYPE page [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
|
|
<!ENTITY % advancedDTD SYSTEM "chrome://browser/locale/pref/pref-advanced.dtd">
|
|
%brandDTD;
|
|
%advancedDTD;
|
|
]>
|
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="parent.initPanel('chrome://browser/content/pref/pref-advanced.xul');"
|
|
headertitle="&lHeader;">
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/pref/pref-advanced.js"/>
|
|
|
|
<vbox class="listBox settingsBox" flex="1" style="overflow: auto;">
|
|
<expander id="accessibility" label="&accessibility.label;" open="true" persist="open" clearhidden="true">
|
|
<checkbox id="moveSystemCaret" label="&moveSystemCaret.label;"
|
|
prefstring="accessibility.browsewithcaret"/>
|
|
<checkbox id="useTypeAheadFind" label="&useTypeAheadFind.label;"
|
|
prefstring="accessibility.typeaheadfind" oncommand="updatePrefs()"/>
|
|
<checkbox class="indent" id="linksOnlyTypeAheadFind" label="&linksOnlyTypeAheadFind.label;"
|
|
prefstring="accessibility.typeaheadfind.linksonly"/>
|
|
</expander>
|
|
<expander id="browsing" label="&browsing.label;" open="true" persist="open" clearhidden="true">
|
|
<checkbox id="hideTabBar" label="&hideTabBar.label;"
|
|
prefstring="browser.tabs.autoHide"/>
|
|
<checkbox id="loadInBackground" label="&loadInBackground.label;"
|
|
prefstring="browser.tabs.loadInBackground" reversed="true"/>
|
|
<checkbox id="useAutoScrolling" label="&useAutoScrolling.label;"
|
|
prefstring="general.autoScroll"/>
|
|
<checkbox id="useSmoothScrolling" label="&useSmoothScrolling.label;"
|
|
prefstring="general.smoothScroll"/>
|
|
</expander>
|
|
<expander id="multimedia" label="&multimedia.label;" open="true" persist="open" clearhidden="true">
|
|
<checkbox id="enableAutoImageResizing" label="&enableAutoImageResizing.label;"
|
|
prefstring="browser.enable_automatic_image_resizing"/>
|
|
</expander>
|
|
|
|
<expander id="softwareupdate" label="&softwareupdate.label;"
|
|
open="true" persist="open" clearhidden="true" align="left">
|
|
<label>&softwareupdateinfo.label;</label>
|
|
<vbox class="indent" align="left">
|
|
<checkbox id="enableSmartUpdate"
|
|
label="&enableSmartUpdate.label;" accesskey="&enableSmartUpdate.accesskey;"
|
|
prefstring="update.app.enabled"/>
|
|
<checkbox id="enableExtensionUpdate"
|
|
label="&enableExtensionUpdate.label;" accesskey="&enableExtensionUpdate.accesskey;"
|
|
prefstring="update.extensions.enabled"/>
|
|
<checkbox id="enableAutoInstall" class="indent"
|
|
label="&enableAutoInstall.label;" accesskey="&enableAutoInstall.accesskey;"
|
|
prefstring="update.extensions.autoUpdate"/>
|
|
<separator class="thin"/>
|
|
<button label="&checkNow.label;" accesskey="&checkNow.accesskey;"
|
|
oncommand="checkForUpdates();"/>
|
|
</vbox>
|
|
<separator class="thin"/>
|
|
<!-- XXXben - this will move to "Web Features" once I reorg Options again -->
|
|
<checkbox id="enableSoftwareInstall" label="&enableSoftwareUpdate.label;"
|
|
accesskey="&enableSoftwareUpdate.accesskey;"
|
|
prefstring="xpinstall.enabled"/>
|
|
</expander>
|
|
|
|
<expander id="security" label="&security.label;" open="true" persist="open" clearhidden="true">
|
|
<checkbox id="useSSL2" label="&useSSL2.label;"
|
|
prefstring="security.enable_ssl2"/>
|
|
<checkbox id="useSSL3" label="&useSSL3.label;"
|
|
prefstring="security.enable_ssl3"/>
|
|
<checkbox id="useTLS1" label="&useTLS1.label;"
|
|
prefstring="security.enable_tls"/>
|
|
</expander>
|
|
|
|
#ifdef PROVISIONAL_SECURITY_UI
|
|
<expander id="certs" label="&certs.label;" open="false" persist="open" clearhidden="true">
|
|
<description>&securityUIDisclaimer.label;</description>
|
|
<groupbox align="start">
|
|
<caption label="&SSLClientAuthMethod;"/>
|
|
<description>&certselect.description;</description>
|
|
<!-- Prefs -->
|
|
<radiogroup id="certSelection" orient="horizontal" preftype="string"
|
|
prefstring="security.default_personal_cert">
|
|
<radio label="&certselect.auto;" value="Select Automatically"/>
|
|
<radio label="&certselect.ask;" value="Ask Every Time"/>
|
|
</radiogroup>
|
|
</groupbox>
|
|
|
|
<!-- Certificate manager -->
|
|
<groupbox>
|
|
<caption label="&managecerts.label;"/>
|
|
<description>&managecerts.text;</description>
|
|
<hbox align="center">
|
|
<button label="&managecerts.button;"
|
|
oncommand="openCertManager();"
|
|
id="openCertManagerButton"
|
|
accesskey="&managecerts.accesskey;"
|
|
prefstring="security.disable_button.openCertManager"/>
|
|
</hbox>
|
|
</groupbox>
|
|
|
|
<!-- Device manager -->
|
|
<groupbox>
|
|
<caption label="&managedevices.label;"/>
|
|
<description>&managedevices.text;</description>
|
|
<hbox align="center">
|
|
<button label="&managedevices.button;"
|
|
oncommand="openDeviceManager();"
|
|
id="openDeviceManagerButton"
|
|
accesskey="&managedevices.accesskey;"
|
|
prefstring="security.disable_button.openDeviceManager"/>
|
|
</hbox>
|
|
</groupbox>
|
|
</expander>
|
|
|
|
<expander id="validation" label="&validation.label;" open="false" persist="open" clearhidden="true">
|
|
<description>&securityUIDisclaimer.label;</description>
|
|
<groupbox>
|
|
<caption label="&validation.crl.label;"/>
|
|
<description>&validation.crl.description;</description>
|
|
<hbox align="center">
|
|
<button label="&validation.managecrls.button;"
|
|
oncommand="openCrlManager();"
|
|
id="managecrlbutton"
|
|
accesskey="&validation.managecrls.accesskey;"
|
|
prefstring="security.OCSP.disable_button.managecrl"/>
|
|
</hbox>
|
|
</groupbox>
|
|
|
|
<groupbox align="start">
|
|
<caption label="&validation.ocsp.label;"/>
|
|
<description>&validation.ocsp.description;</description>
|
|
<!-- Prefs -->
|
|
<radiogroup id="securityOCSPEnabled"
|
|
prefstring="security.OCSP.enabled">
|
|
<radio value="0" label="&disableOCSP.label;" oncommand="doSecurityEnabling();"/>
|
|
<radio value="1" label="&certOCSP.label;" oncommand="doSecurityEnabling();"/>
|
|
<radio value="2" label="&proxyOCSP.label;" oncommand="doSecurityEnabling();"/>
|
|
|
|
<grid class="indent" flex="1">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&signingCA.label;" accesskey="&signingCA.accesskey;" control="signingCA"/>
|
|
<hbox id="signingCABox" flex="1"/>
|
|
</row>
|
|
<row align="center">
|
|
<label value="&serviceURL.label;" accesskey="&serviceURL.accesskey;" control="serviceURL"/>
|
|
<textbox id="serviceURL" prefstring="security.OCSP.URL"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</radiogroup>
|
|
</groupbox>
|
|
</expander>
|
|
|
|
<menulist id="signingCA" preftype="string" prefstring="security.OCSP.signingCA"
|
|
flex="1" oncommand="changeURL()" hidden="true">
|
|
<menupopup/>
|
|
</menulist>
|
|
|
|
#endif
|
|
</vbox>
|
|
</page>
|
|
|