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 % newsblogDTD SYSTEM "chrome://messenger-newsblog/locale/am-newsblog.dtd">
%newsblogDTD;
<!ENTITY % feedDTD SYSTEM "chrome://messenger-newsblog/locale/feed-subscriptions.dtd">
%feedDTD;
<!ENTITY % accountNoIdentDTD SYSTEM "chrome://messenger/locale/am-serverwithnoidentities.dtd">
%accountNoIdentDTD;
<!ENTITY % accountServerTopDTD SYSTEM "chrome://messenger/locale/am-server-top.dtd">
%accountServerTopDTD; ]>
<html
>
<head>
<title>&accountTitle.label;</title>
<link rel="localization" href="messenger/accountSettings.ftl" />
<link
rel="stylesheet"
/>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script>
// FIXME: move to script file.
window.addEventListener("load", event => {
parent.onPanelLoaded("am-newsblog.xhtml");
});
</script>
</head>
<html:body
>
<vbox id="containerBox" flex="1">
<hbox id="am-newsblog-title" class="dialogheader">
<label class="dialogheader-title" defaultTitle="&accountTitle.label;" />
<spacer flex="1" />
<button
id="deleteAccount"
data-l10n-id="delete-account-button"
oncommand="top.onRemoveAccount(event);"
/>
</hbox>
<description class="secDesc">&accountSettingsDesc.label;</description>
<div class="input-container-column flex-grow">
<xul:label
id="server.prettyNameLabel"
value="&accountName.label;"
accesskey="&accountName.accesskey;"
control="server.prettyName"
/>
<input
id="server.prettyName"
type="text"
wsm_persist="true"
class="input-inline"
aria-labelledby="server.prettyNameLabel"
onblur="serverPrettyNameOnBlur(event);"
prefstring="mail.server.%serverkey%.name"
/>
</div>
<div class="input-container-column flex-no-grow">
<label
id="server.color.label"
for="serverColor"
data-l10n-id="account-settings-color-label"
/>
<div class="input-container">
<input id="serverColor" type="color" class="input-inline" />
<button
id="resetColor"
type="button"
data-l10n-id="account-settings-reset-color-button"
class="button button-flat icon-button icon-only"
/>
</div>
</div>
</html:div>
<separator class="thin" />
<html:div>
<html:fieldset>
<html:legend>&serverSettings.label;</html:legend>
<checkbox
id="doBiff"
label="&biffAll.label;"
accesskey="&biffAll.accesskey;"
oncommand="setPrefs(this)"
/>
</html:fieldset>
</html:div>
<separator class="thin" />
<html:div>
<html:fieldset>
<html:legend>&newFeedSettings.label;</html:legend>
<hbox align="center">
<checkbox
id="updateEnabled"
label="&biffStart.label;"
accesskey="&biffStart.accesskey;"
oncommand="setPrefs(this)"
/>
<html:input
id="updateValue"
type="number"
class="size3"
min="1"
aria-labelledby="updateEnabled updateValue biffMinutes biffDays"
onchange="setPrefs(this)"
/>
<radiogroup
id="biffUnits"
orient="horizontal"
oncommand="setPrefs(this)"
>
<radio
id="biffMinutes"
value="min"
label="&biffMinutes.label;"
accesskey="&biffMinutes.accesskey;"
/>
<radio
id="biffDays"
value="d"
label="&biffDays.label;"
accesskey="&biffDays.accesskey;"
/>
</radiogroup>
</hbox>
<checkbox
id="server.quickMode"
wsm_persist="true"
genericattr="true"
label="&quickMode.label;"
accesskey="&quickMode.accesskey;"
preftype="bool"
prefattribute="value"
prefstring="mail.server.%serverkey%.quickMode"
/>
<checkbox
id="autotagEnable"
accesskey="&autotagEnable.accesskey;"
label="&autotagEnable.label;"
oncommand="setPrefs(this)"
/>
<hbox class="input-container">
<checkbox
id="autotagUsePrefix"
class="indent"
accesskey="&autotagUsePrefix.accesskey;"
label="&autotagUsePrefix.label;"
oncommand="setPrefs(this)"
/>
<html:input
id="autotagPrefix"
type="text"
class="input-inline"
aria-labelledby="autotagUsePrefix"
placeholder="&autoTagPrefix.placeholder;"
onchange="setPrefs(this)"
/>
</hbox>
</html:fieldset>
</html:div>
<separator class="thin" />
<hbox pack="end">
<button
label="&manageSubscriptions.label;"
accesskey="&manageSubscriptions.accesskey;"
oncommand="openSubscriptionsDialog(gAccount.incomingServer.rootFolder);"
/>
</hbox>
<separator class="thin" />
<html:div>
<html:fieldset>
<html:legend>&messageStorage.label;</html:legend>
<checkbox
id="server.emptyTrashOnExit"
wsm_persist="true"
label="&emptyTrashOnExit.label;"
accesskey="&emptyTrashOnExit.accesskey;"
prefattribute="value"
prefstring="mail.server.%serverkey%.empty_trash_on_exit"
/>
<separator class="thin" />
<vbox>
<hbox align="center">
<label
id="server.localPathLabel"
value="&localPath1.label;"
control="server.localPath"
/>
<hbox class="input-container" flex="1">
<html:input
id="server.localPath"
type="text"
readonly="readonly"
class="uri-element input-inline"
aria-labelledby="server.localPathLabel"
wsm_persist="true"
datatype="nsIFile"
prefstring="mail.server.%serverkey%.directory"
/>
</hbox>
<button
id="browseForLocalFolder"
label="&browseFolder.label;"
filepickertitle="&localFolderPicker.label;"
accesskey="&browseFolder.accesskey;"
oncommand="BrowseForLocalFolders();"
/>
</hbox>
</vbox>
</html:fieldset>
</html:div>
</vbox>
</html:body>
</html>