xul files for replacing preference html files

This commit is contained in:
chuang%netscape.com 1999-07-26 06:50:56 +00:00
Родитель 9d06d45782
Коммит 7cb1b04ab4
5 изменённых файлов: 441 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,78 @@
<?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 window.title "Disk Space">
<!ENTITY pane.title "Disk Space">
<!ENTITY allMsg.label "All Messages">
<!ENTITY storeMsgLimit.label "Do not store messages locally that are larger than">
<!ENTITY autoCompact.label "Automatically compact folders when it will save over">
<!ENTITY kb.label " kB">
<!ENTITY newgroupMsgOnly.label " Newsgroup Messages Only">
<!ENTITY whenToClean.label "When it's time to clean up messages:">
<!ENTITY keepMsgs.label "Keep messages which have arrived within the past">
<!ENTITY days.label "days">
<!ENTITY keepAllMsg.label "Keep all messages">
<!ENTITY keepTheNewest.label "Keep the newest">
<!ENTITY messages.label "messages">
<!ENTITY keepUnread.label "Keep only unread messages">
<!ENTITY removeMsg.label "Remove message bodies only older than">
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Disk Space')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
<html:br/>
&allMsg.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.limit_message_size"/>&storeMsgLimit.label;
<html:input name="maxsize" id="pref:string:mail.max_size" size="4"/>&kb.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.prompt_purge_threshhold"/>&autoCompact.label;
<html:input name="purgesize" id="pref:string:mail.purge_threshhold" size="4"/>&kb.label;
</html:td></html:tr>
</html:table>
</html:form>
<html:br/>
&newgroupMsgOnly.label;
<html:table>
<html:tr><html:td><html:label>&whenToClean.label;</html:label></html:td></html:tr>
<html:tr><html:td>
<html:input name="keepmsg" type="radio" id="pref:1:int:news.keep.method"/>&keepMsgs.label;
<html:input name="keepdays" id="pref:string:news.keep.days" size="4"/>&days.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="keepmsg" type="radio" id="pref:0:int:news.keep.method" checked="true"/>&keepAllMsg.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="keepmsg" type="radio" id="pref:2:int:news.keep.method"/>&keepTheNewest.label;
<html:input name="keepmsgcount" id="pref:string:news.keep.count" size="4"/>&messages.label;
</html:td></html:tr>
<html:tr><html:td> </html:td></html:tr>
<html:tr><html:td> </html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:news.keep.only_unread"/>&keepUnread.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:news.remove_bodies.by_age"/>&removeMsg.label;
<html:input name="removedays" id="pref:string:news.remove_bodies.days" size="4"/>&days.label;
</html:td></html:tr>
</html:table>
</html:div>
</window>

Просмотреть файл

@ -0,0 +1,91 @@
<?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 window.title "Mail &amp; Newsgroups">
<!ENTITY pane.title "Mail &amp; Newsgroups">
<!ENTITY textBegin.label "Plain quoted text beginning with is displayed with">
<!ENTITY style.label "Style:">
<!ENTITY regular.label "Regular">
<!ENTITY bold.label "Bold">
<!ENTITY italic.label "Italic">
<!ENTITY boldItalic.label "Bold Italic">
<!ENTITY size.label "Size:">
<!ENTITY regular.label "Regular">
<!ENTITY bigger.label "Bigger">
<!ENTITY smaller.label "Smaller">
<!ENTITY color.label "Color:">
<!ENTITY displayWith.label "Display plain text messages and articles with">
<!ENTITY fixedWidth.label "Fixed width font">
<!ENTITY variableWidth.label "Variable width font">
<!ENTITY playSound.label "Play sound when messages arrive">
<!ENTITY rememberLastMsg.label "Remember the last selected message">
<!ENTITY confirmMove.label "Confirm when moving folders to the trash">
<!ENTITY useMessenger.label "Use Netscape Messenger from MAPI-based applications">
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Main')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
&textBegin.label;
<html:form>
<html:table>
<html:tr><html:td>&style.label;
<html:select>
<html:option>&regular.label;</html:option>
<html:option>&bold.label;</html:option>
<html:option>&italic.label;</html:option>
<html:option>&boldItalic.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>&size.label;
<html:select>
<html:option>&regular.label;</html:option>
<html:option>&bigger.label;</html:option>
<html:option>&smaller.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>&color.label;
<html:select>
<html:option></html:option>
</html:select>
</html:td></html:tr>
</html:table>
</html:form>
&displayWith.label;
<html:form>
<html:table>
<html:tr><html:td><html:input name="fontwidth" type="radio"
id="pref:1:int:mail.fixed_width_messages" checked="true"/>&fixedWidth.label;
</html:td></html:tr>
<html:tr><html:td><html:input name="fontwidth" type="radio"
id="pref:0:int:mail.fixed_width_messages"/>&variableWidth.label;
</html:td></html:tr>
</html:table>
</html:form>
<html:br/>
<html:form>
<html:table>
<html:tr><html:td><html:input type="checkbox" id="pref:1:bool:mail.play_sound"/>&playSound.label;</html:td></html:tr>
<html:tr><html:td><html:input type="checkbox" id="pref:1:bool:mailnews.remember_selected_message"/>&rememberLastMsg.label;</html:td></html:tr>
<html:tr><html:td><html:input type="checkbox" id="pref:1:bool:mailnews.confirm.moveFoldersToTrash"/>&confirmMove.label;</html:td></html:tr>
<html:tr><html:td><html:input type="checkbox" id="pref:0:bool:mail.use_mapi_server"/>&useMessenger.label;</html:td></html:tr>
</html:table>
</html:form>
</html:div>
</window>

Просмотреть файл

@ -0,0 +1,96 @@
<?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 window.title "Return Receipts">
<!ENTITY pane.title "Return Receipts">
<!ENTITY requestReceipt.label " If I request a receipt when sending a message, I want">
<!ENTITY dsn.label "A delivery receipt from the receiving server (DSN)">
<!ENTITY mdn.label "A read receipt, notifying me when recipients display the message (MDN)">
<!ENTITY both.label "Both types of receipt">
<!ENTITY receiptArrive.label " When a receipt arrives">
<!ENTITY leaveIt.label "Leave it in my Inbox">
<!ENTITY moveToSent.label "Move it to my Sent Mail folder">
<!ENTITY requestMDN.label " When I receive a message and the sender requested a receipt (MDN)">
<!ENTITY returnSome.label "Return receipts for some messages">
<!ENTITY never.label "Return receipts for some messages">
<!ENTITY custom.label "Customize...">
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Return Receipts')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:script language="javascript">
function GetToolkitCore() {
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
if (!toolkitCore) {
toolkitCore = new ToolkitCore();
if (toolkitCore)
toolkitCore.Init("ToolkitCore");
}
return toolkitCore;
}
function DoCustomize() {
var toolkitCore = GetToolkitCore();
if (toolkitCore)
toolkitCore.ShowModalDialog("custreceipt.xul",
window);
}
</html:script>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
&requestReceipt.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="msgreceipt" type="radio" id="pref:1:int:mail.request.return_receipt"/>&dsn.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="msgreceipt" type="radio" id="pref:2:int:mail.request.return_receipt" checked="true"/>&mdn.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="msgreceipt" type="radio" id="pref:3:int:mail.request.return_receipt"/>&both.label;
</html:td></html:tr>
</html:table>
</html:form>
&receiptArrive.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="getreceipt" type="radio" id="pref:0:int:mail.incorporate.return_receipt" checked="true"/>&leaveIt.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="getreceipt" type="radio" id="pref:1:int:mail.incorporate.return_receipt"/>&moveToSent.label;
</html:td></html:tr>
</html:table>
</html:form>
&requestMDN.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="returnreceipt" type="radio" id="pref:0:int:mail.mdn.report.enabled"/>&never.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="returnreceipt" type="radio" id="pref:1:int:mail.mdn.report.enabled" checked="true"/>&returnSome.label;
<html:input name="custom" type="button" value="&custom.label;"/>
</html:td></html:tr>
</html:table>
</html:form>
</html:div>
</window>

Просмотреть файл

@ -0,0 +1,75 @@
<?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 window.title "Formatting">
<!ENTITY pane.title "Formatting">
<!ENTITY msgFormatting.label "Message formatting">
<!ENTITY useHtml.label "Use the HTML editor to compose messages">
<!ENTITY usePlain.label "Use the plain text editor to compose messages">
<!ENTITY sendMail.label "When sending HTML mail messages to recipients who are not listed as being able to receive them:">
<!ENTITY askMe.label "Ask me what to do if the message has HTML formatting, otherwise send plain text">
<!ENTITY convertPlain.label "Convert the message into plain text(may lose some formatting)">
<!ENTITY sendHTML.label "Send the message in HTML anyway(some recipients may not be able to read it)">
<!ENTITY sendBoth.label "Send the message in plain text and HTML(uses more disk space)">
<!ENTITY override.label "You can override these settings in any message through the options panel of the message composition window">
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Formatting')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
<html:br/>
&msgFormatting.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="radio" id="pref:1:int:mail.html_compose" checked="true"/>
&useHtml.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="radio" id="pref:0:int:mail.html_compose"/>
&usePlain.label;
</html:td></html:tr>
</html:table>
</html:form>
<html:br/>
&sendMail.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="radio" id="pref:0:int:mail.default_html_action" checked="true"/>
&askMe.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="radio" id="pref:1:int:mail.default_html_action"/>
&convertPlain.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="radio" id="pref:2:int:mail.default_html_action"/>
&sendHTML.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="radio" id="pref:3:int:mail.default_html_action"/>
&sendBoth.label;
</html:td></html:tr>
</html:table>
<html:tr><html:td>
&override.label;
</html:td></html:tr>
</html:form>
</html:div>
</window>

Просмотреть файл

@ -0,0 +1,101 @@
<?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 window.title "Messages">
<!ENTITY pane.title "Messages">
<!ENTITY forwardReply.label "Forwarding and Replying to Messages">
<!ENTITY forwardMsg.label "By default, forward messages:">
<!ENTITY inline.label "Inline">
<!ENTITY quoted.label "Quoted">
<!ENTITY asAttachment.label "As Attachment">
<!ENTITY then.label "Then,">
<!ENTITY autoQuote.label "Automatically quote the original message when replying">
<!ENTITY aboveQuote.label "start my reply above the quoted text">
<!ENTITY belowQuote.label "start my reply below the quoted text">
<!ENTITY selectquote.label "select the quoted text">
<!ENTITY spellCheck.label "Spell check messages before sending">
<!ENTITY msgWrapping.label "Message Wrapping">
<!ENTITY wrapInMsg.label "Wrap incoming, plain text messages to window width">
<!ENTITY wrapOutMsg.label "Wrap outgoing, plain text messages at">
<!ENTITY char.label "characters">
<!ENTITY use8Bits.label "Send messages that use 8-bit characters">
<!ENTITY cleanupMsg.label "When it's time to clean up messages:">
<!ENTITY asIs.label "As is (does not work well with some mail servers)">
<!ENTITY useMIME.label "Using the 'quoted printable' MIME encoding (does not work well with some mail or newsgroups readers)">
]>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Messages')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
&forwardReply.label;
<html:form>
<html:table>
<html:tr><html:td>&forwardMsg.label;
<html:select>
<html:option>&inline.label;</html:option>
<html:option>&quoted.label;</html:option>
<html:option>&asAttachment.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.auto_quote" checked="true"/>&autoQuote.label;
</html:td></html:tr>
<html:tr><html:td>&then.label;
<html:select>
<html:option>&aboveQuote.label;</html:option>
<html:option>&belowQuote.label;</html:option>
<html:option>&selectquote.label;</html:option>
</html:select>
</html:td></html:tr>
</html:table>
</html:form>
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.SpellCheckBeforeSend"/>&spellCheck.label;
</html:td></html:tr>
</html:table>
</html:form>
&msgWrapping.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.wrap_long_lines"/>&wrapInMsg.label;
</html:td></html:tr>
<html:tr><html:td>&wrapOutMsg.label;
<html:input name="wraplength" type="text" value=""
id="pref:string:mailnews.wraplength" size="10"/>&char.label;
</html:td></html:tr>
</html:table>
</html:form>
&use8Bits.label;
<html:table>
<html:tr><html:td>&cleanupMsg.label;</html:td></html:tr>
<html:form>
<html:tr><html:td>
<html:input name="msgcleanup" type="radio" id="pref:0:int:mail.strictly_mime" checked="true"/>&asIs.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="msgcleanup" type="radio" id="pref:1:int:mail.strictly_mime"/>&useMIME.label;
</html:td></html:tr>
</html:form>
</html:table>
</html:div>
</window>