mailnews/base/prefs/resources/content/am-serverwithnoidentities.xul
author Karsten Düsterloh <mnyromyr@tprac.de>
Fri, 19 Jun 2009 23:35:33 +0200
changeset 2895 6f5baa0cddd240bb7c0ecc6e9f57e78adc94b90a
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
permissions -rw-r--r--
Merge for rev. 2894

<?xml version="1.0"?>

<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>

<!DOCTYPE page SYSTEM "chrome://messenger/locale/am-serverwithnoidentities.dtd" >

<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      title="&accountTitle.label;"
      onload="parent.onPanelLoaded('am-serverwithnoidentities.xul');">

  <script type="application/x-javascript" src="chrome://messenger/content/am-serverwithnoidentities.js"/>
  <script type="application/x-javascript" src="chrome://messenger/content/amUtils.js"/>

  <dialogheader title="&accountTitle.label;"/>

  <description class="secDesc">&accountSettingsDesc.label;</description>
  <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>
    <caption label="&messageStorage.label;"/>

    <vbox align="start">
      <checkbox wsm_persist="true" id="server.emptyTrashOnExit"
                label="&emptyTrashOnExit.label;"
                accesskey="&emptyTrashOnExit.accesskey;"
                prefattribute="value"
                prefstring="mail.server.%serverkey%.empty_trash_on_exit"/>
    </vbox>

    <separator class="thin"/>

    <label value="&localPath.label;" control="server.localPath"/>
    <hbox align="center">
      <textbox readonly="true" wsm_persist="true" flex="1" id="server.localPath" datatype="nsILocalFile"
               prefstring="mail.server.%serverkey%.directory" class="uri-element"/>
      <button id="browseForLocalFolder" label="&browseFolder.label;" filepickertitle="&localFolderPicker.label;"
              accesskey="&browseFolder.accesskey;" oncommand="BrowseForLocalFolders()"/>
    </hbox>
  </groupbox>
</page>