home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 January
/
01_02.iso
/
software
/
netscape62win
/
mail.xpi
/
bin
/
chrome
/
messenger.jar
/
content
/
messenger
/
am-server.xul
< prev
next >
Wrap
Extensible Markup Language
|
2001-08-31
|
11KB
|
234 lines
<?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/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
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-2001 Netscape Communications Corporation. All
Rights Reserved.
Contributors:
Hσkan Waara <hwaara@chello.se>
-->
<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-server-top.dtd" >
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
class="color-dialog"
onload="parent.onPanelLoaded('am-server.xul');"
orient="vertical">
<script type="application/x-javascript" src="chrome://messenger/content/am-server.js"/>
<script type="application/x-javascript" src="chrome://messenger/content/am-prefs.js"/>
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
<broadcaster id="broadcaster_doBiff"/>
<text hidden="true" wsm_persist="true" id="server.type"/>
<hbox class="box-smallheader" title="&serverSettings.label;"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row autostretch="never">
<text class="label" value="&serverType.label;"/>
<text class="label" id="servertype.verbose"/>
</row>
<row autostretch="never">
<text class="label" value="&serverName.label;"/>
<!-- XXX: when #14295 is fixed, remove disabled="true" -->
<textbox wsm_persist="true" disabled="true" size="25" id="server.hostName"/>
</row>
<row autostretch="never">
<hbox iscontrolcontainer="true" autostretch="never">
<text hidable="true" hidefor="nntp" class="label" id="userNameLabel"
value="&userName.label;"/>
</hbox>
<hbox iscontrolcontainer="true" autostretch="never">
<!-- XXX: when #14295 is fixed, remove disabled="true" -->
<textbox hidable="true" hidefor="nntp" wsm_persist="true" disabled="true"
size="25" id="server.username"/>
</hbox>
</row>
<row>
<hbox autostretch="never">
<text class="label" value="&port.label;"/>
</hbox>
<hbox autostretch="never">
<textbox autostretch="never" wsm_persist="true" size="5" id="server.port"
pref="true" preftype="int" prefattribute="value"
prefstring="mail.server.%serverkey%.port"/>
</hbox>
</row>
</rows>
</grid>
<spring class="spacer"/>
<groupbox>
<label value="&serverSettings.label;"/>
<vbox flex="1">
<checkbox iscontrolcontainer="true" wsm_persist="true" id="server.isSecure"
label="&isSecure.label;" oncommand="secureSelect();"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.isSecure"/>
<checkbox iscontrolcontainer="true" hidable="true" wsm_persist="true"
id="server.loginAtStartUp" hidefor="nntp"
label="&loginAtStartup.label;"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.login_at_startup"/>
<!--
<checkbox iscontrolcontainer="true" hidable="true" wsm_persist="true" id="server.rememberPassword" hidefor="nntp"
value="&savePassword.label;"/>
-->
<hbox autostretch="never">
<checkbox wsm_persist="true" id="server.doBiff" label="&biffStart.label;"
oncommand="setupBiffUI();"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.check_new_mail"/>
<textbox wsm_persist="true" id="server.biffMinutes" size="3"
observes="broadcaster_doBiff"
pref="true" preftype="int" prefattribute="value"
prefstring="mail.server.%serverkey%.check_time"/>
<text class="label" id="biffEnd" for="server.biffMinutes" value="&biffEnd.label;"
observes="broadcaster_doBiff"/>
</hbox>
<!-- POP3 -->
<vbox iscontrolcontainer="true" autostretch="never">
<checkbox hidable="true" class="indent" hidefor="imap,nntp"
wsm_persist="true" id="server.downloadOnBiff"
label="&downloadOnBiff.label;" observes="broadcaster_doBiff"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.download_on_biff"/>
<checkbox wsm_persist="true" id="pop3.leaveMessagesOnServer"
label="&leaveOnServer.label;" oncommand="setupMailOnServerUI();"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.leave_on_server"/>
<checkbox wsm_persist="true" id="pop3.deleteMailLeftOnServer" class="indent"
label="&deleteOnServer.label;"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.delete_mail_left_on_server"/>
</vbox>
<!-- IMAP -->
<hbox iscontrolcontainer="true" autostretch="never">
<text class="label" value="&deleteMessagePrefix.label;"/>
<menulist hidable="true" hidefor="pop3,nntp" wsm_persist="true" id="imap.deleteModel"
pref="true" preftype="int" prefattribute="value"
prefstring="mail.server.%serverkey%.delete_model">
<menupopup>
<menuitem value="1" label="&modelMoveToTrash.label;"/>
<menuitem value="0" label="&modelMarkDeleted.label;"/>
<menuitem value="2" label="&modelDeleteImmediately.label;"/>
</menupopup>
</menulist>
<spring flex="1"/>
</hbox>
<separator class="thin"/>
<checkbox hidable="true" hidefor="pop3,nntp" wsm_persist="true" id="imap.cleanupInboxOnExit"
label="&expungeOnExit.label;" iscontrolcontainer="true"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.cleanup_inbox_on_exit"/>
<checkbox hidable="true" hidefor="nntp" wsm_persist="true" id="server.emptyTrashOnExit"
label="&emptyTrashOnExit.label;" iscontrolcontainer="true"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.empty_trash_on_exit"/>
<hbox iscontrolcontainer="true" flex="1">
<hbox flex="1">
<spring flex="1"/>
<button label="&advancedButton.label;"
oncommand="openImapAdvanced(event);"
wsm_persist="true" id="server.advancedbutton"
pref="true" preftype="bool" prefattribute="disabled"
prefstring="mail.server.%serverkey%.advanced.disable"/>
</hbox>
<checkbox hidable="true" hidefor="pop3,nntp" hidden="true" wsm_persist="true" id="imap.dualUseFolders"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.dual_use_folders"/>
<checkbox hidden="true" wsm_persist="true" id="imap.usingSubscription"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.using_subscription"/>
<text hidden="true" wsm_persist="true" id="imap.personalNamespace"/>
<text hidden="true" wsm_persist="true" id="imap.publicNamespace"/>
<text hidden="true" wsm_persist="true" id="imap.otherUsersNamespace"/>
<text hidden="true" wsm_persist="true" id="imap.serverDirectory"/>
<checkbox hidden="true" wsm_persist="true" id="imap.overrideNamespaces"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.override_namespaces"/>
</hbox>
<!-- NNTP -->
<hbox iscontrolcontainer="true">
<checkbox hidable="true" hidefor="pop3,imap" wsm_persist="true" id="nntp.notifyOn"
label="&maxMessagesStart.label;"
pref="true" preftype="bool" prefattribute="value"
prefstring="mail.server.%serverkey%.notify.on"/>
<hbox iscontrolcontainer="true" autostretch="never">
<textbox wsm_persist="true" id="nntp.maxArticles" size="6"
pref="true" preftype="int" prefattribute="value"
prefstring="mail.server.%serverkey%.max_articles"/>
<text class="label" for="nntp.maxArticles" value="&maxMessagesEnd.label;"/>
</hbox>
</hbox>
<!-- take out for now - bug 45079
<hbox iscontrolcontainer="true" flex="100%">
<groupbox orient="vertical">
<label class="header label" value="&abbreviate.label;"/>
<radiogroup hidable="true" hidefor="pop3,imap" orient="vertical" wsm_persist="true"
id="nntp.abbreviate">
<radio group="nntp.abbreviate" wsm_persist="true" value="true"
label="&abbreviateOn.label;"/>
<radio group="nntp.abbreviate" wsm_persist="true" value="false"
label="&abbreviateOff.label;"/>
</radiogroup>
</groupbox>
</hbox>
-->
<vbox iscontrolcontainer="true">
<text class="label" value="&newsrcFilePath.label;" for="nntp.newsrcFilePath"/>
<textbox hidable="true" hidefor="imap,pop3" wsm_persist="true" id="nntp.newsrcFilePath"
datatype="nsIFileSpec"
pref="true" preftype="string" prefattribute="value"
prefstring="mail.server.%serverkey%.newsrc.file"/>
</vbox>
</vbox>
</groupbox>
<spring flex="100%"/>
<vbox>
<text class="label" value="&localPath.label;" for="server.localPath"/>
<textbox wsm_persist="true" id="server.localPath"
datatype="nsIFileSpec"
pref="true" preftype="string" prefattribute="value"
prefstring="mail.server.%serverkey%.directory"/>
</vbox>
</window>