2000-04-25 07:09:02 +04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2001-04-05 23:53:13 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
|
2000-05-11 06:52:07 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
2000-06-05 10:34:57 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/pref-composing_messages.dtd">
|
|
|
|
|
2000-06-15 13:54:41 +04:00
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
2000-04-25 07:09:02 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="parent.initPanel('chrome://messenger/content/messengercompose/pref-composing_messages.xul');"
|
|
|
|
orient="vertical"
|
|
|
|
class="color-dialog">
|
2000-05-11 06:52:07 +04:00
|
|
|
|
|
|
|
<popupset id="aTooltipSet"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2001-03-24 02:44:31 +03:00
|
|
|
<script type="application/x-javascript">
|
2000-04-25 07:09:02 +04:00
|
|
|
<![CDATA[
|
2000-08-17 05:06:27 +04:00
|
|
|
var _elementIDs = ["forwardMessageMode", "autoQuote", "replyOnTop", "spellCheckBeforeSend", "strictlyMime", "wrapLength", "sendDefaultCharsetList"];
|
2000-08-10 23:56:56 +04:00
|
|
|
|
2000-04-25 07:09:02 +04:00
|
|
|
function Startup()
|
|
|
|
{
|
|
|
|
doEnabling();
|
|
|
|
}
|
|
|
|
|
|
|
|
function doEnabling()
|
|
|
|
{
|
|
|
|
var quotebox = document.getElementById("thenBox");
|
|
|
|
var quotecheck = document.getElementById("autoQuote");
|
|
|
|
if( quotecheck.checked ) {
|
|
|
|
quotebox.firstChild.removeAttribute("disabled");
|
|
|
|
quotebox.lastChild.removeAttribute("disabled");
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
quotebox.firstChild.setAttribute("disabled","true");
|
|
|
|
quotebox.lastChild.setAttribute("disabled","true");
|
|
|
|
}
|
2001-03-30 10:48:24 +04:00
|
|
|
|
|
|
|
var spellChecker;
|
|
|
|
try {
|
|
|
|
spellChecker = Components.classes["@mozilla.org/spellchecker;1"];
|
|
|
|
//switch to this when nsISpellChecker becomes scriptable
|
|
|
|
//spellChecker = Components.classes["@mozilla.org/spellchecker;1"].createInstance(Components.interfaces.nsISpellChecker);
|
|
|
|
}
|
|
|
|
catch (ex) {
|
|
|
|
spellChecker = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (spellChecker) {
|
|
|
|
var spellCheckerCheckbox = document.getElementById("spellCheckBeforeSend");
|
|
|
|
spellCheckerCheckbox.removeAttribute("disabled");
|
|
|
|
}
|
2000-04-25 07:09:02 +04:00
|
|
|
}
|
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2000-04-30 06:49:07 +04:00
|
|
|
<box class="box-smallheader" title="&pane.title;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<titledbox orient="vertical">
|
|
|
|
<label value="&forwardReply.label;"/>
|
|
|
|
|
2000-04-25 07:09:02 +04:00
|
|
|
<box autostretch="never">
|
|
|
|
<text class="label" value="&forwardMsg.label;" accesskey="&forwardMsg.accesskey;"/>
|
|
|
|
<menulist id="forwardMessageMode"
|
|
|
|
pref="true" preftype="int" prefstring="mail.forward_message_mode"
|
2001-03-22 03:59:29 +03:00
|
|
|
prefattribute="value">
|
2000-04-25 07:09:02 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem value="0" label="&asAttachment.label;" accesskey="&asAttachment.accesskey;"/>
|
|
|
|
<menuitem value="2" label="&inline.label;" accesskey="&inline.accesskey;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</box>
|
2001-02-02 01:11:05 +03:00
|
|
|
<box autostretch="never">
|
2001-03-22 03:59:29 +03:00
|
|
|
<checkbox id="autoQuote" label="&autoQuote.label;"
|
2001-02-02 01:11:05 +03:00
|
|
|
pref="true" preftype="bool" prefstring="mail.auto_quote"
|
|
|
|
prefattribute="checked" oncommand="doEnabling();"/>
|
|
|
|
</box>
|
2000-04-25 07:09:02 +04:00
|
|
|
<box class="indent" autostretch="never" id="thenBox">
|
|
|
|
<text class="label" value="&then.label;" accesskey="&then.accesskey;" for="replyOnTop"/>
|
|
|
|
<menulist id="replyOnTop" pref="true" preftype="int" prefstring="mailnews.reply_on_top"
|
2001-03-22 03:59:29 +03:00
|
|
|
prefattribute="value">
|
2000-04-25 07:09:02 +04:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem value="1" label="&aboveQuote.label;" accesskey="&aboveQuote.accesskey;"/>
|
|
|
|
<menuitem value="0" label="&belowQuote.label;" accesskey="&belowQuote.accesskey;"/>
|
|
|
|
<menuitem value="2" label="&selectAndAboveQuote.label;" accesskey="&selectAndAboveQuote.accesskey;"/>
|
|
|
|
<menuitem value="3" label="&selectAndBelowQuote.label;" accesskey="&selectAndBelowQuote.accesskey;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</box>
|
|
|
|
</titledbox>
|
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<!-- Composing Mail -->
|
|
|
|
<titledbox orient="vertical" autostretch="never">
|
|
|
|
<label value="&sendingMessagesHeader.label;"/>
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2001-03-22 03:59:29 +03:00
|
|
|
<checkbox id="spellCheckBeforeSend" label="&spellCheck.label;"
|
2000-04-25 07:09:02 +04:00
|
|
|
pref="true" preftype="bool" prefstring="mail.SpellCheckBeforeSend"
|
2001-03-30 10:48:24 +04:00
|
|
|
prefattribute="checked" disabled="true"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
|
|
|
|
<checkbox id="strictlyMime" label="&useMIME.label;"
|
2000-05-17 03:28:45 +04:00
|
|
|
pref="true" preftype="bool" prefstring="mail.strictly_mime"
|
|
|
|
prefattribute="checked"/>
|
|
|
|
|
|
|
|
<box autostretch="never">
|
|
|
|
<text class="label" value="&wrapOutMsg.label;" accesskey="&wrapOutMsg.accesskey;" for="wrapLength"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="wrapLength" size="3" pref="true" preftype="int"
|
2000-05-17 03:28:45 +04:00
|
|
|
prefstring="mailnews.wraplength" prefattribute="value"/>
|
|
|
|
<text class="label" value="&char.label;"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
</box>
|
2000-08-10 23:56:56 +04:00
|
|
|
|
|
|
|
<box autostretch="never">
|
2000-09-02 05:11:49 +04:00
|
|
|
<text class="label" value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;" for="sendDefaultCharsetList"/>
|
2000-08-10 23:56:56 +04:00
|
|
|
<menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
|
|
|
|
pref="true" preftype="string" prefstring="mailnews.send_default_charset"
|
2001-03-22 03:59:29 +03:00
|
|
|
prefattribute="value">
|
2000-08-10 23:56:56 +04:00
|
|
|
<template>
|
2001-02-09 09:33:32 +03:00
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
2000-08-10 23:56:56 +04:00
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
|
|
|
</box>
|
2001-03-22 03:59:29 +03:00
|
|
|
</titledbox>
|
|
|
|
|
2000-08-10 23:56:56 +04:00
|
|
|
<!--
|
2001-03-22 03:59:29 +03:00
|
|
|
<titledbox orient="vertical" autostretch="never">
|
|
|
|
<label value="&languages.label;"/>
|
2000-04-28 10:18:50 +04:00
|
|
|
|
2000-05-17 03:28:45 +04:00
|
|
|
<box autostretch="never">
|
2000-04-28 10:18:50 +04:00
|
|
|
<text class="label" value="&sendDefaultCharset.label;" for="sendDefaultCharsetList"/>
|
|
|
|
<menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
|
|
|
|
pref="true" preftype="string" prefstring="mailnews.send_default_charset"
|
2001-03-22 03:59:29 +03:00
|
|
|
prefattribute="value">
|
2000-04-28 10:18:50 +04:00
|
|
|
<template>
|
|
|
|
<menupopup>
|
2001-03-22 03:59:29 +03:00
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
2000-04-28 10:18:50 +04:00
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
2000-05-17 03:28:45 +04:00
|
|
|
</box>
|
2000-04-25 07:09:02 +04:00
|
|
|
</titledbox>
|
2000-08-10 23:56:56 +04:00
|
|
|
-->
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2000-05-17 03:28:45 +04:00
|
|
|
|
2000-04-25 07:09:02 +04:00
|
|
|
|
2000-05-17 03:28:45 +04:00
|
|
|
|
2000-04-25 07:09:02 +04:00
|
|
|
</window>
|