use chrome url to use PrefsWindow.js

This commit is contained in:
putterman%netscape.com 1999-06-15 23:47:08 +00:00
Родитель 12b5ab5fdc
Коммит ca462acd9e
8 изменённых файлов: 0 добавлений и 739 удалений

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

@ -1,95 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Customize Receipts')">
<DIV ID=top>
<SPAN ID=lefttext>Customize Return Receipts</SPAN>
</DIV>
<br>
When I receive a message and its sender requested a receipt(MDN), send one in the following cases:
<table ID="tableb">
<FORM>
<tr><td>
If I'm not in the To or CC list of the message (as for a message to a mailing list):
</td></tr>
<tr><td>
<select name="select1" size=1>
<option value="0">Never Send
<option value="1">Automatically
<option selected value="2">Ask me
</select>
</td></tr>
<tr><td>
If the message comes from outside the domain:
</td></tr>
<tr><td>
<select name="select2" size=1>
<option value="0">Never Send
<option value="1">Automatically
<option selected value="2">Ask me
</select>
</td></tr>
<tr><td>
In all other cases:
</td></tr>
<tr><td>
<select name="select3" size=1>
<option value="0">Never Send
<option value="1">Automatically
<option selected value="2">Ask me
</select>
</td></tr>
</FORM>
</table>
<br>
<br>
<br>
<table>
<FORM>
<tr>
<input name=ok type="button" value="OK">
<input name=cancel type="button" value="Cancel">
</tr>
</FORM>
</table>
</body>

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

@ -1,94 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Disk Space')">
<DIV ID=top>
<SPAN ID=lefttext>Disk Space</SPAN>
</DIV>
<br>
All Messages
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.limit_message_size">Do not store messages locally that are larger than
<input name="maxsize" type="text" value=""
id="pref:string:mail.max_size" size="4"> kB
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:mail.prompt_purge_threshhold">Automatically compact folders when it will save over
<input name="purgesize" type="text" value=""
id="pref:string:mail.purge_threshhold" size="4"> kB
</td></tr>
</FORM>
</table>
<br>
Newsgroup Messages Only
<table ID="tableb">
<tr><td>When it's time to clean up messages:</td></tr>
<FORM>
<tr><td>
<input name=keepmsg type="radio" id="pref:1:int:news.keep.method">Keep messages which have arrived within the past
<input name="keepdays" type="text" value=""
id="pref:string:news.keep.days" size="4">days
</td></tr>
<tr><td>
<input name=keepmsg type="radio" id="pref:0:int:news.keep.method" checked>Keep all messages
</td></tr>
<tr><td>
<input name=keepmsg type="radio" id="pref:2:int:news.keep.method">Keep the newest
<input name="keepmsgcount" type="text" value=""
id="pref:string:news.keep.count" size="4">messages
</td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.keep.only_unread">Keep only unread messages
</td></tr>
<tr><td>
<input type="checkbox" id="pref:0:bool:news.remove_bodies.by_age">Remove message bodies only older than
<input name="removedays" type="text" value=""
id="pref:string:news.remove_bodies.days" size="4">days
</td></tr>
</FORM>
</table>
</body>

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

@ -1,77 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Identity')">
<DIV ID=top>
<SPAN ID=lefttext>Identity</SPAN>
</DIV>
<br>
<table ID="tableb">
<tr><td>The information below is needed before you can send mail.
If you do not know the information requested, please contact your system
administrator or Internet Service Provider.</td></tr>
<FORM>
<tr><td>Your Name:</td></tr>
<tr><td><input name="fullname" type="text" value=""
id="pref:string:mail.identity.username" size="54">
</td></tr>
<tr><td>Email Address:</td></tr>
<tr><td><input name="email" type="text" value=""
id="pref:string:mail.identity.useremail" size="54">
</td></tr>
<tr><td>Reply-to address(only needed if different from email address):</td></tr>
<tr><td><input name="replyto" type="text" value=""
id="pref:string:mail.identity.reply_to" size="54">
</td></tr>
<tr><td>Organization:</td></tr>
<tr><td><input name="organization" type="text" value=""
id="pref:string:mail.identity.organization" size="54">
</td></tr>
<tr><td>Signature File:</td></tr>
<tr><td><input name="sigfile" type="text" value=""
id="pref:string:mail.identity.signature_file" size="44">
<input name=choose type="button" value="Choose">
</td></tr>
<tr><td><input type="checkbox" id="pref:0:bool:mail.attach_vcard">Attach my personal card to messages (as a vCard)
<input name=editcard type="button" value="Edit Card">
</td></tr>
</FORM>
</table>
</body>

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

@ -1,96 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Main')">
<DIV ID=top>
<SPAN ID=lefttext>Mail &amp; Newsgroups</SPAN>
</DIV>
<br>
Plain quoted text beginning with ">" is displayed with
<table ID="tableb">
<FORM>
<tr><td>Style:
<select name="textstyle" size=1>
<option value="0">Regular
<option value="1">Bold
<option selected value="2">Italic
<option value="3">Bold Italic
</select>
</td></tr>
<tr><td>Size:
<select name="textsize" size=1>
<option selected value="0">Regular
<option value="1">Bigger
<option value="2">Smaller
</select>
</td></tr>
<tr><td>Color:
<select name="textcolor" size=1>
<option selected value="0">
</select>
</td></tr>
</FORM>
</table>
<br>
Display plain text messages and articles with
<table ID="tableb">
<FORM>
<tr><td><input name=fontwidth type="radio"
id="pref:1:int:mail.fixed_width_messages" checked>Fixed width font</td>
</tr>
<tr><td><input name=fontwidth type="radio"
id="pref:0:int:mail.fixed_width_messages">Variable width font</td>
</tr>
</FORM>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td><input type="checkbox" id="pref:1:bool:mail.play_sound">Play sound when messages arrive</td></tr>
<tr><td><input type="checkbox" id="pref:1:bool:mailnews.remember_selected_message">Remember the last selected message</td></tr>
<tr><td><input type="checkbox" id="pref:1:bool:mailnews.confirm.moveFoldersToTrash">Confirm when moving folders to the trash</td></tr>
<tr><td><input type="checkbox" id="pref:0:bool:mail.use_mapi_server">Use Netscape Messenger from MAPI-based applications</td></tr>
</FORM>
</table>
</body>

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

@ -1,100 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Mailservers')">
<DIV ID=top>
<SPAN ID=lefttext>Mail Servers</SPAN>
</DIV>
<br>
Incoming Mail Servers
<table ID="tableb">
<FORM>
<tr><td>
<select name="textstyle" size=5>
<option value="0">dredd.mcom.com
</select>
</td></tr>
<tr><td>
<input name=choose type="button" value="Add...">
<input name=choose type="button" value="Edit...">
<input name=choose type="button" value="Delete">
<input name=choose type="button" value="Set as Default">
</td></tr>
</FORM>
<tr><td>To set server properties (such as checking for new messages automatically), select a server and then click Edit.
</td></tr>
</table>
<br>
Outgoing Mail Server
<table ID="tableb">
<tr><td>Outgoing mail (SMTP) server:
<input name="smtpserver" type="text" value=""
id="pref:string:network.hosts.smtp_server" size="20">
</td></tr>
<tr><td>Outgoing mail server user name:
<input name="smtpusername" type="text" value=""
id="pref:string:mail.smtp_name" size="20">
</td></tr>
<tr><td>
Use Secure Socket Layer(SSL) or TLS for outgoing messages:
</td></tr>
<tr><td>
<input name=sslmag type="radio" id="pref:0:int:mail.smtp.ssl" checked>Never
<input name=sslmag type="radio" id="pref:1:int:mail.smtp.ssl">If Possible
<input name=sslmag type="radio" id="pref:2:int:mail.smtp.ssl">Always
</td></tr>
</FORM>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td>
Local mail directory:
</td></tr>
<tr><td>
<input name="maildir" type="text" value=""
id="pref:string:mail.directory" size="40">
<input name=choose type="button" value="Choose...">
</td></tr>
</FORM>
</table>
</body>

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

@ -1,86 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Newsservers')">
<DIV ID=top>
<SPAN ID=lefttext>Newsgroup Servers</SPAN>
</DIV>
<br>
<table ID="tableb">
<FORM>
<tr><td>
<select name="textstyle" size=5>
<option value="0">news.mozilla.org
</select>
</td></tr>
<tr><td>
<input name=choose type="button" value="Add...">
<input name=choose type="button" value="Edit...">
<input name=choose type="button" value="Delete">
<input name=choose type="button" value="Set as Default">
</td></tr>
</FORM>
</td></tr>
</table>
<br>
<table ID="tableb">
<tr><td>
<input type="checkbox" id="pref:0:bool:news.notify.on">Ask me before downloading more than
<input name="prompt" type="text" value=""
id="pref:string:news.max_articles" size="5">messages
</td></tr>
</FORM>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td>
Newsgroup directory
</td></tr>
<tr><td>
<input name="newsdir" type="text" value=""
id="pref:string:news.directory" size="40">
<input name=choose type="button" value="Choose...">
</td></tr>
</FORM>
</table>
</body>

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

@ -1,108 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
<script>
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.html",
window);
}
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Return Receipts')">
<DIV ID=top>
<SPAN ID=lefttext>Return Receipts</SPAN>
</DIV>
<br>
If I request a receipt when sending a message, I want
<table ID="tableb">
<FORM>
<tr><td>
<input name=msgreceipt type="radio" id="pref:1:int:mail.request.return_receipt">A delivery receipt from the receiving server (DSN)
</td></tr>
<tr><td>
<input name=msgreceipt type="radio" id="pref:2:int:mail.request.return_receipt" checked>A read receipt, notifying me when recipients display the message (MDN)
</td></tr>
<tr><td>
<input name=msgreceipt type="radio" id="pref:3:int:mail.request.return_receipt">Both types of receipt
</td></tr>
</FORM>
</table>
<br>
When a receipt arrives
<table ID="tableb">
<FORM>
<tr><td>
<input name=getreceipt type="radio" id="pref:0:int:mail.incorporate.return_receipt" checked>Leave it in my Inbox
</td></tr>
<tr><td>
<input name=getreceipt type="radio" id="pref:1:int:mail.incorporate.return_receipt">Move it to my Sent Mail folder
</td></tr>
</FORM>
</table>
<br>
When I receive a message and the sender requested a receipt (MDN)
<table ID="tableb">
<FORM>
<tr><td>
<input name=returnreceipt type="radio" id="pref:0:int:mail.mdn.report.enabled">Never return a receipt
</td></tr>
<tr><td>
<input name=returnreceipt type="radio" id="pref:1:int:mail.mdn.report.enabled" checked>Return receipts for some messages
<input name=returnreceipt type="button" value="Customize...">
</td></tr>
</FORM>
</table>
</body>

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

@ -1,83 +0,0 @@
<style>
body {
background-color:#CCCCCC
}
#lefttext {
text-align: left;
font-style: bold;
}
#righttext {
text-align: right;
}
#top {
background-color: grey
}
#tableb {
display:block;
border: groove white 2px;
font-size: 7pt;
min-height: 16px;
color: white;
}
</style>
<head>
<script language="JavaScript" src="resource:/res/samples/PrefsWindow.js">
</script>
</head>
<body ID=here onload="return StartUp('Mailnews-Window Setting')">
<DIV ID=top>
<SPAN ID=lefttext>Window Setting</SPAN>
</DIV>
<br>
<table ID="tableb">
<FORM>
<tr><td>Choose which layout you prefer for the Messenger window:
<input name=winlayout type="radio" id="pref:0:int:mail.pane_arrangement" checked>
<img src="chrome://messenger/skin/winclassic.gif" >
<input name=winlayout type="radio" id="pref:1:int:mail.pane_arrangement">
<img src="chrome://messenger/skin/winwide.gif">
</td></tr>
</FORM>
<tr><td>If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.</td></tr>
</table>
<br>
<table ID="tableb">
<FORM>
<tr><td>
<input type="checkbox" id="pref:1:int:mailnews.reuse_thread_window2">Double-clicking a folder or a newsgroup opens it in a new window
</td></tr>
<tr><td>
<input type="checkbox" id="pref:1:int:mailnews.reuse_message_window">Double-clicking a message opens it in a new window
</td></tr>
</FORM>
<tr><td>If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.</td></tr>
</table>
<br>
The Newsgroups menu item or button:
<table ID="tableb">
<FORM>
<tr><td>
<input name=opennews type="radio" id="pref:0:int:news.use_message_center" checked>Opens newsgroups in a Messenger window
</td></tr>
<tr><td>
<input name=opennews type="radio" id="pref:1:int:news.use_message_center">Opens the Message Center
</td></tr>
</FORM>
</table>
</body>