Revision control
Copy as Markdown
Other Tools
<!-- 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 % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
<!ENTITY % chatDTD SYSTEM "chrome://messenger/locale/chat.dtd">
%brandDTD; %chatDTD; ]>
<html
id="accountManager"
windowtype="Messenger:Accounts"
scrolling="false"
lightweightthemes="true"
persist="width height screenX screenY"
>
<head>
<title data-l10n-id="accounts-window-title"></title>
<link rel="localization" href="branding/brand.ftl" />
<link rel="localization" href="chat/accounts.ftl" />
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
</head>
<html:body
>
<stringbundle
id="accountsBundle"
/>
<commandset id="accountsCommands">
<command
id="cmd_connect"
data-l10n-id="account-connect"
oncommand="gAccountManager.connect()"
/>
<command
id="cmd_disconnect"
data-l10n-id="account-disconnect"
oncommand="gAccountManager.disconnect()"
/>
<command
id="cmd_cancelReconnection"
data-l10n-id="account-cancel-reconnection"
oncommand="gAccountManager.cancelReconnection()"
/>
<command
id="cmd_copyDebugLog"
data-l10n-id="account-copy-debug-log"
oncommand="gAccountManager.copyDebugLog();"
/>
<command
id="cmd_edit"
data-l10n-id="account-edit"
oncommand="gAccountManager.edit()"
/>
<command
id="cmd_new"
data-l10n-id="account-manager-new-account"
oncommand="gAccountManager.new()"
/>
<command
id="cmd_close"
data-l10n-id="account-manager-close"
oncommand="gAccountManager.close()"
/>
</commandset>
<keyset id="accountsKeys">
<key id="key_close1" key="w" modifiers="accel" command="cmd_close" />
<key id="key_close2" keycode="VK_ESCAPE" command="cmd_close" />
<key
id="key_close3"
command="cmd_close"
data-l10n-id="account-manager-close-command"
modifiers="accel,shift"
/>
</keyset>
<menupopup
id="accountsContextMenu"
onpopupshowing="gAccountManager.onContextMenuShowing(event)"
>
<menuitem
id="context_connect"
command="cmd_connect"
class="im-context-account-item"
/>
<menuitem
id="context_disconnect"
command="cmd_disconnect"
class="im-context-account-item"
/>
<menuitem
id="context_cancelReconnection"
command="cmd_cancelReconnection"
class="im-context-account-item"
/>
<menuitem id="context_copyDebugLog" command="cmd_copyDebugLog" />
<menuseparator
id="context_accountsItemsSeparator"
class="im-context-account-item"
/>
<menuitem command="cmd_new" />
<menuseparator class="im-context-account-item" />
<menuitem command="cmd_edit" class="im-context-account-item" />
</menupopup>
<html:div class="displayUserAccount">
<stack id="statusImageStack">
<html:img
id="userIcon"
class="userIcon"
alt=""
onclick="statusSelector.userIconClick();"
/>
<button
type="menu"
id="statusTypeIcon"
class="statusTypeIcon"
status="available"
>
<menupopup
id="setStatusTypeMenupopup"
oncommand="statusSelector.editStatus(event);"
>
<menuitem
id="statusTypeAvailable"
label="&status.available;"
status="available"
class="menuitem-iconic"
/>
<menuitem
id="statusTypeUnavailable"
label="&status.unavailable;"
status="unavailable"
class="menuitem-iconic"
/>
<menuseparator id="statusTypeOfflineSeparator" />
<menuitem
id="statusTypeOffline"
label="&status.offline;"
status="offline"
class="menuitem-iconic"
/>
</menupopup>
</button>
</stack>
<html:div id="displayNameAndstatusMessageGrid">
<label
id="displayName"
onclick="statusSelector.displayNameClick();"
align="center"
pack="center"
/>
<!-- FIXME: A keyboard user cannot focus the hidden input, nor click
- the above label in order to reveal it. -->
<html:input
id="displayNameInput"
class="statusMessageInput input-inline"
hidden="hidden"
/>
<html:hr />
<label
id="statusMessageLabel"
crop="end"
value=""
onclick="statusSelector.statusMessageClick();"
/>
<html:input
id="statusMessageInput"
class="statusMessageInput input-inline"
value=""
hidden="hidden"
/>
</html:div>
</html:div>
<hbox flex="1" ondblclick="gAccountManager.new();">
<vbox flex="1" id="noAccountScreen" align="center" pack="center">
<hbox id="noAccountBox" align="start">
<vbox id="noAccountInnerBox" flex="1">
<label
id="noAccountTitle"
data-l10n-id="account-manager-no-account-title"
/>
<description
id="noAccountDesc"
data-l10n-id="account-manager-no-account-description"
/>
</vbox>
</hbox>
</vbox>
<vbox id="accounts-notification-box" flex="1">
<!-- notificationbox will be added here lazily. -->
<richlistbox
id="accountlist"
flex="1"
context="accountsContextMenu"
onselect="gAccountManager.onAccountSelect();"
/>
</vbox>
</hbox>
<hbox id="bottombuttons" align="center">
<button id="newaccount" command="cmd_new" />
<spacer flex="1" />
<button id="close" command="cmd_close" />
</hbox>
</html:body>
</html>