Revision control
Copy as Markdown
Other Tools
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
<!DOCTYPE html [
<!ENTITY % accountManagerDTD SYSTEM "chrome://messenger/locale/AccountManager.dtd">
%accountManagerDTD;
<!ENTITY % utilityDTD SYSTEM "chrome://communicator/locale/utilityOverlay.dtd">
%utilityDTD;
]>
scrolling="false">
<head>
<title>&accountManagerTitle.label;</title>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; script-src chrome: 'unsafe-inline'; img-src chrome: moz-icon: https: data:; style-src chrome: data: 'unsafe-inline'; object-src 'none'" />
<meta name="color-scheme" content="light dark" />
<link rel="localization" href="branding/brand.ftl" />
<link rel="localization" href="messenger/accountManager.ftl" />
<link rel="localization" href="messenger/addressbook/aboutAddressBook.ftl" />
<script>
// FIXME: move to script file.
window.addEventListener("load", event => { onLoad(event); });
window.addEventListener("unload", event => { onUnload(); });
</script>
</head>
<html:aside id="accountTreeBox">
<html:div id="accountTreeHeaderBar" class="sidebar-panel-header">
<html:button id="accountTreeCreateAccount"
class="button button-primary icon-button"
data-l10n-id="account-tree-create-account-button"
type="button">
</html:button>
</html:div>
<html:ol is="orderable-tree-listbox" id="accounttree" class="sidebar-panel-scroll"
role="tree"
flex="1"
onselect="onAccountTreeSelect(null, null);">
</html:ol>
<li>
<div class="container" draggable="true">
<div class="twisty">
<img class="twisty-icon" alt=""
</div>
<div class="icon"></div>
<span class="name" tabindex="-1"></span>
<img data-l10n-id="account-manager-server-default-icon"
class="default-icon" />
</div>
<ul></ul>
</li>
</template>
<menupopup id="accountAddPopup"
onpopupshowing="updateBlockedItems(this.children, true);">
<menuitem id="accountActionsAddMailAccount"
data-l10n-id="account-tree-add-mail-account"
prefstring="mail.disable_new_account_addition"
oncommand="openAccountSetup();"/>
<menuitem id="accountActionsAddChatAccount"
data-l10n-id="account-tree-add-chat-account"
prefstring="mail.disable_new_account_addition"
oncommand="AddIMAccount(event); event.stopPropagation();"/>
<menuitem id="accountActionsAddFeedAccount"
data-l10n-id="account-tree-add-feed-account"
prefstring="mail.disable_new_account_addition"
oncommand="AddFeedAccount(event); event.stopPropagation();"/>
<menuitem id="accountActionsAddOtherAccount"
data-l10n-id="account-tree-add-newsgroup-account"
prefstring="mail.disable_new_account_addition"
oncommand="openNewsgroupAccountWizard(); event.stopPropagation();"/>
</menupopup>
<vbox class="sidebar-footer-list">
<html:a id="prefsButton" class="sidebar-footer-link"
onclick="openOptionsDialog();">
<html:img class="sidebar-footer-icon"
<label class="sidebar-footer-label"
data-l10n-id="open-preferences-sidebar-button2"
flex="1"/>
</html:a>
<html:a id="addonsButton" class="sidebar-footer-link"
onclick="window.browsingContext.topChromeWindow.openAddonsMgr();">
<html:img class="sidebar-footer-icon"
alt="" />
<label class="sidebar-footer-label"
data-l10n-id="open-addons-sidebar-button"
flex="1"/>
</html:a>
</vbox>
</html:aside>
<html:aside>
<iframe id="contentFrame" name="contentFrame" />
</html:aside>
<stack id="dialogStack" hidden="true"/>
<vbox id="dialogTemplate"
class="dialogOverlay"
align="center"
pack="center"
topmost="true"
hidden="true">
<vbox class="dialogBox"
pack="end"
role="dialog"
aria-labelledby="dialogTitle">
<hbox class="dialogTitleBar" align="center">
<label class="dialogTitle" flex="1"/>
<button class="dialogClose close-icon"
aria-label="&accountManagerCloseButton.label;"/>
</hbox>
<browser class="dialogFrame"
autoscroll="false"
disablehistory="true"/>
</vbox>
</vbox>
<form autocomplete="off">
<!-- Styles -->
#include ../../../../mail/components/addrbook/content/vcard-edit/vCardTemplates.inc.xhtml
<vcard-edit class="edit"/>
<menu class="dialog-menu-container">
<button type="reset" class="cancel"
data-l10n-id="edit-vcard-dialog-cancel-button"
data-l10n-attrs="accesskey"></button>
<button type="submit" class="accept primary"
data-l10n-id="edit-vcard-dialog-accept-button"
data-l10n-attrs="accesskey"></button>
</menu>
</form>
</dialog>
</html:body>
</html>