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 SYSTEM "chrome://messenger/locale/subscribe.dtd">
<html
id="subscribeWindow"
persist="width height screenX screenY"
lightweightthemes="true"
windowtype="mailnews:subscribe"
scrolling="false"
>
<head>
<title>&subscribeDialog.title;</title>
<link rel="stylesheet" href="chrome://messenger/skin/subscribe.css" />
<link rel="stylesheet" href="chrome://messenger/skin/searchBox.css" />
<link rel="stylesheet" href="chrome://messenger/skin/icons.css" />
<link rel="stylesheet" href="chrome://messenger/skin/folderMenus.css" />
<link rel="stylesheet" href="chrome://messenger/skin/colors.css" />
<link rel="stylesheet" href="chrome://messenger/skin/themeableDialog.css" />
<link rel="stylesheet" href="chrome://messenger/skin/contextMenu.css" />
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
</head>
<html:body
>
<dialog>
<stringbundle
id="bundle_subscribe"
/>
<stringbundle
id="bundle_messenger"
/>
<vbox flex="1">
<vbox>
<!-- Server Label and Input Container -->
<vbox id="serverContainer" flex="1">
<label
id="serverlabel"
value="&server.label;"
accesskey="&server.accesskey;"
control="serverMenu"
/>
<menulist id="serverMenu" flex="1" class="folderMenuItem">
<menupopup
is="folder-menupopup"
mode="subscribe"
expandFolders="false"
oncommand="onServerClick(event.target._folder);"
/>
</menulist>
</vbox>
<!-- Name Field Label and Input Container -->
<vbox id="nameContainer" flex="1">
<label
id="namefieldlabel"
accesskey="&namefield.accesskey;"
value="&namefield.label;"
control="namefield"
/>
<search-textbox
id="namefield"
class="themeableSearchBox"
flex="1"
timeout="300"
aria-controls="subscribeTree"
oncommand="Search();"
/>
</vbox>
</vbox>
<spacer />
<separator class="thin" />
<spacer />
<vbox flex="1">
<tabbox flex="1" handleCtrlTab="false">
<tabs id="subscribeTabs">
<tab
id="currentListTab"
selected="true"
onclick="if (!event.target.disabled) ShowCurrentList()"
oncommand="ShowCurrentList()"
/>
<tab
id="newGroupsTab"
label="&newGroupsTab.label;"
accesskey="&newGroupsTab.accesskey;"
onclick="if (!event.target.disabled) ShowNewGroupsList()"
oncommand="ShowNewGroupsList()"
/>
</tabs>
<tabpanels flex="1">
<tabpanel id="treepanel" flex="1" orient="vertical">
<label id="subscribeLabel" />
<hbox flex="1">
<hbox id="subscribeView" flex="1">
<tree
id="subscribeTree"
treelines="true"
flex="1"
hidecolumnpicker="true"
seltype="multiple"
disableKeyNavigation="true"
onkeypress="onSubscribeTreeKeyPress(event);"
onclick="SubscribeOnClick(event);"
>
<treecols id="theSubscribeColumns">
<treecol
id="nameColumn"
primary="true"
hideheader="true"
crop="center"
/>
<splitter class="tree-splitter" />
<treecol
id="subscribedColumn"
type="checkbox"
style="flex: 1 auto"
hideheader="true"
/>
</treecols>
<treechildren id="subscribeTreeBody" />
</tree>
</hbox>
<hbox id="searchView" flex="1" hidden="true">
<tree
id="searchTree"
flex="1"
disableKeyNavigation="true"
hidecolumnpicker="true"
onkeypress="onSearchTreeKeyPress(event);"
onclick="SearchOnClick(event);"
>
<treecols>
<treecol
id="nameColumn2"
primary="true"
hideheader="true"
sortDirection="ascending"
/>
<splitter class="tree-splitter" />
<treecol
id="subscribedColumn2"
style="flex: 1 auto"
hideheader="true"
/>
</treecols>
<treechildren id="searchTreeBody" />
</tree>
</hbox>
<vbox>
<button
id="refreshButton"
label="&refreshButton.label;"
accesskey="&refreshButton.accesskey;"
oncommand="Refresh()"
/>
<button
id="stopButton"
label="&stopButton.label;"
accesskey="&stopButton.accesskey;"
oncommand="Stop()"
disabled="true"
/>
<spacer flex="1" />
</vbox>
</hbox>
</tabpanel>
</tabpanels>
</tabbox>
</vbox>
<hbox>
<hbox id="statusContainerBox" flex="1">
<label id="statusText" class="statusbarpanel" crop="end" flex="1" />
<hbox
id="statusbar-progresspanel"
class="statusbarpanel statusbarpanel-progress"
collapsed="true"
pack="end"
flex="1"
>
<html:progress
class="progressmeter-statusbar"
id="statusbar-icon"
value="0"
max="100"
/>
</hbox>
</hbox>
<hbox />
</hbox>
</vbox>
</dialog>
</html:body>
</html>