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
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!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="stylesheet" href="chrome://messenger/skin/accountManage.css" />
<link
rel="stylesheet"
/>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script defer="defer" src="chrome://messenger/content/amUtils.js"></script>
<script defer="defer" src="chrome://messenger/content/am-prefs.js"></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;" />
</hbox>
<description class="secDesc">&accountSettingsDesc.label;</description>
<hbox class="input-container">
<label
id="server.prettyNameLabel"
value="&accountName.label;"
accesskey="&accountName.accesskey;"
control="server.prettyName"
/>
<html:input
id="server.prettyName"
type="text"
wsm_persist="true"
class="input-inline"
aria-labelledby="server.prettyNameLabel"
onblur="serverPrettyNameOnBlur(event);"
prefstring="mail.server.%serverkey%.name"
/>
</hbox>
<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>