RetroZilla/mailnews/base/prefs/resources/content/am-main.xul

128 lines
5.5 KiB
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
<!DOCTYPE page SYSTEM "chrome://messenger/locale/am-main.dtd" >
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.onPanelLoaded('am-main.xul');">
<stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/>
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
<script type="application/x-javascript" src="chrome://messenger/content/am-identity-edit.js"/>
<script type="application/x-javascript" src="chrome://messenger/content/am-main.js"/>
<script type="application/x-javascript" src="chrome://messenger/content/am-prefs.js"/>
<broadcaster id="broadcaster_attachSignature"/>
<dialogheader id="am-main-title" defaultTitle="&accountTitle.label;"/>
<hbox align="center">
<label value="&accountName.label;" control="server.prettyName"
accesskey="&accountName.accesskey;"/>
<textbox wsm_persist="true" size="30" id="server.prettyName"
prefstring="mail.server.%serverkey%.name"/>
</hbox>
<separator class="thin"/>
<groupbox style="width: 20em !important;">
<caption label="&identityTitle.label;"/>
<description>&identityDesc.label;</description>
<separator class="thin"/>
<grid flex="1">
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row align="center">
<label value="&name.label;" control="identity.fullName"
accesskey="&name.accesskey;"/>
<textbox wsm_persist="true" id="identity.fullName" size="30"
prefstring="mail.identity.%identitykey%.fullName"/>
</row>
<row align="center">
<label value="&email.label;" control="identity.email"
accesskey="&email.accesskey;"/>
<textbox wsm_persist="true" id="identity.email"
prefstring="mail.identity.%identitykey%.useremail" class="uri-element"/>
</row>
<row align="center">
<label value="&replyTo.label;" control="identity.replyTo"
accesskey="&replyTo.accesskey;"/>
<textbox wsm_persist="true" id="identity.replyTo"
prefstring="mail.identity.%identitykey%.reply_to" class="uri-element"/>
</row>
<row align="center">
<label value="&organization.label;" control="identity.organization"
accesskey="&organization.accesskey;"/>
<textbox wsm_persist="true" id="identity.organization"
prefstring="mail.identity.%identitykey%.organization"/>
</row>
</rows>
</grid>
<separator class="thin"/>
<hbox align="center">
<checkbox wsm_persist="true" id="identity.attachSignature" label="&signature.label;" flex="1"
accesskey="&signature.accesskey;"
oncommand="setupSignatureItems();"
prefattribute="value"
prefstring="mail.identity.%identitykey%.attach_signature"/>
</hbox>
<hbox align="center" class="indent">
<textbox wsm_persist="true" id="identity.signature" datatype="nsILocalFile" flex="1" name="identity.signature"
observes="broadcaster_attachSignature"
prefstring="mail.identity.%identitykey%.sig_file" class="uri-element"/>
<button class="push" name="browse" label="&choose.label;"
accesskey="&choose.accesskey;"
oncommand="selectFile()"
observes="broadcaster_attachSignature"
wsm_persist="true" id="identity.sigbrowsebutton"
prefstring="mail.identity.%identitykey%.sigbrowse.disable"/>
</hbox>
<hbox align="center">
<checkbox wsm_persist="true" id="identity.attachVCard" label="&attachVCard.label;" flex="1"
accesskey="&attachVCard.accesskey;"
prefattribute="value"
prefstring="mail.identity.%identitykey%.attach_vcard"/>
<button class="push" name="editVCard" label="&editVCard.label;"
accesskey="&editVCard.accesskey;"
oncommand="editVCard()"/>
<label hidden="true" wsm_persist="true" id="identity.escapedVCard"
pref="true" preftype="string" prefattribute="value"
prefstring="mail.identity.%identitykey%.escapedVCard"/>
</hbox>
<separator class="thin"/>
<hbox align="center">
<label value="&smtpName.label;" control="identity.smtpServerKey"
accesskey="&smtpName.accesskey;"/>
<menulist wsm_persist="true" id="identity.smtpServerKey" flex="1"
pref="true" preftype="string" prefattribute="value"
prefstring="mail.identity.%identitykey%.smtpServer">
<menupopup id="smtpPopup">
<menuitem value="" label="&smtpDefaultServer.label;" id="useDefaultItem"/>
<menuseparator/>
<!-- list will be inserted here -->
</menupopup>
</menulist>
</hbox>
</groupbox>
<separator class="thin"/>
<hbox align="center">
<spacer flex="1"/>
<button label="&manageIdentities.label;" oncommand="manageIdentities(event);"
accesskey="&manageIdentities.accesskey;"
wsm_persist="true" id="identity.manageIdentitiesbutton"/>
</hbox>
</page>