gecko-dev/xpfe/components/prefwindow/resources/content/pref-advanced.xul

89 lines
3.3 KiB
Plaintext
Raw Normal View History

1999-06-04 23:28:56 +00:00
<?xml version="1.0"?>
1999-08-10 02:48:56 +00:00
<!--
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):
-->
2000-04-25 02:17:38 +00:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2000-03-14 11:31:54 +00:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
1999-08-10 02:48:56 +00:00
2000-04-19 21:42:30 +00:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-advanced.dtd" >
1999-06-04 23:28:56 +00:00
<window xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
2000-04-25 02:17:38 +00:00
class="color-dialog"
align="vertical" title="&window.title;"
onload="parent.initPanel(panel);">
2000-04-25 02:17:38 +00:00
<script type="application/x-javascript">
2000-04-25 02:17:38 +00:00
<![CDATA[
2000-06-17 03:26:47 +00:00
var panel = "chrome://communicator/content/pref/pref-advanced.xul";
2001-03-07 07:50:14 +00:00
var _elementIDs = ["advancedJavaAllow", "javascriptEnabled", "advancedMailFTP", "advancedMailFTPAddress"];
function Startup()
{
ftpCheck();
}
function ftpCheck()
{
var checked = document.getElementById("advancedMailFTP").checked;
var field = document.getElementById("advancedMailFTPAddress");
field.disabled = field.readonly = !checked;
}
2000-05-04 04:31:12 +00:00
2000-04-25 02:17:38 +00:00
]]>
</script>
<!-- XXX: Replace strres.js when prefutilities is converted -->
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/pref/prefutilities.js"/>
2000-08-16 22:54:56 +00:00
<box class="box-smallheader" title="&lHeader;"/>
1999-06-04 23:28:56 +00:00
2001-03-07 07:50:14 +00:00
<titledbox orient="vertical" id="advancedSettings">
<title value="&advancedTitle.label;"/>
<vbox autostretch="never" id="contentEnablingBox">
<checkbox id="advancedJavaAllow" value="&enbJavaCheck.label;" accesskey="&enbJavaCheck.accesskey;"
pref="true" preftype="bool" prefstring="security.enable_java"
prefattribute="checked"/>
<checkbox id="javascriptEnabled" value="&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" value="&sendAddFtpCheck.label;" accesskey="&sendAddFtpCheck.accesskey;"
pref="true" preftype="bool" prefstring="advanced.mailftp"
prefattribute="checked" oncommand="ftpCheck();"/>
</vbox>
<hbox class="indent">
<textfield id="advancedMailFTPAddress"
pref="true" preftype="string" prefstring="network.ftp.anonymous_password"
prefattribute="value" flex="2"/>
<spring flex="1"/>
</hbox>
<separator/>
</titledbox>
</window>
1999-06-11 18:22:51 +00:00