mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
86 lines
3.0 KiB
XML
86 lines
3.0 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
The contents of this file are subject to the Netscape Public
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
implied. See the License for the specific language governing
|
|
rights and limitations under the License.
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
|
|
Contributor(s):
|
|
-->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-advanced.dtd" >
|
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="color-dialog"
|
|
orient="vertical"
|
|
onload="parent.initPanel(panel);">
|
|
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var panel = "chrome://communicator/content/pref/pref-advanced.xul";
|
|
var _elementIDs = ["advancedJavaAllow", "javascriptEnabled", "advancedMailFTP", "advancedMailFTPAddress"];
|
|
|
|
function Startup()
|
|
{
|
|
ftpCheck();
|
|
}
|
|
|
|
function ftpCheck()
|
|
{
|
|
var checked = document.getElementById("advancedMailFTP").checked;
|
|
var field = document.getElementById("advancedMailFTPAddress");
|
|
field.disabled = !checked;
|
|
}
|
|
|
|
]]>
|
|
</script>
|
|
|
|
<box class="box-smallheader" title="&lHeader;"/>
|
|
|
|
<titledbox orient="vertical" id="advancedSettings">
|
|
<label value="&advancedTitle.label;"/>
|
|
<vbox autostretch="never" id="contentEnablingBox">
|
|
<checkbox id="advancedJavaAllow" label="&enbJavaCheck.label;" accesskey="&enbJavaCheck.accesskey;"
|
|
pref="true" preftype="bool" prefstring="security.enable_java"
|
|
prefattribute="checked"/>
|
|
<checkbox id="javascriptEnabled" label="&enbJsCheck.label;" accesskey="&enbJsCheck.accesskey;"
|
|
pref="true" preftype="bool" prefstring="javascript.enabled"
|
|
prefattribute="checked"/>
|
|
</vbox>
|
|
<vbox>
|
|
<separator/>
|
|
<html>&description.label;</html>
|
|
<separator/>
|
|
</vbox>
|
|
<vbox autostretch="never">
|
|
<checkbox id="advancedMailFTP" label="&sendAddFtpCheck.label;" accesskey="&sendAddFtpCheck.accesskey;"
|
|
pref="true" preftype="bool" prefstring="advanced.mailftp"
|
|
prefattribute="checked" oncommand="ftpCheck();"/>
|
|
</vbox>
|
|
<hbox class="indent">
|
|
<textbox id="advancedMailFTPAddress"
|
|
pref="true" preftype="string" prefstring="network.ftp.anonymous_password"
|
|
prefattribute="value" flex="2"/>
|
|
<spring flex="1"/>
|
|
</hbox>
|
|
<separator/>
|
|
</titledbox>
|
|
</window>
|
|
|
|
|