summaryrefslogtreecommitdiffstats
path: root/mailnews/news/content/downloadheaders.xul
blob: 1adf7c81969d187bcb765e19afb1aed13345d5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?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/. -->

<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://messenger/locale/downloadheaders.dtd">

<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        style="max-width: 27em;"
        buttonpack="center"
        ondialogaccept="return OkButtonCallback();"
        ondialogcancel="return CancelButtonCallback();"
        onload="OnLoad();">

  <stringbundle id="bundle_news" src="chrome://messenger/locale/news.properties"/>
  <script type="application/javascript" src="chrome://messenger/content/downloadheaders.js"/>

  <label class="header" style="width: 25em; max-width: 25em;" id="newsgroupLabel" control="downloadGroup"/>
  <description style="width: 25em; max-width: 25em;" id="info" control="downloadGroup"/>
  <separator class="thin"/>
  <vbox class="indent">
    <radiogroup id="downloadGroup">
      <radio id="all" label="&all.label;" accesskey="&all.accesskey;"
             oncommand="setupDownloadUI(false);"/>
      <separator class="thin"/>
      <hbox align="center" valign="middle">
        <radio id="some" selected="true" label="&download.label;"
               accesskey="&download.accesskey;"
               oncommand="setupDownloadUI(true);"
               aria-labelledby="some number headers"/>
        <textbox id="number"
                 size="7"
                 type="number"
                 min="1"
                 increment="10"
                 aria-labelledby="some number headers"/>
        <label value="&headers.label;" accesskey="&headers.accesskey;"
               id="headers" control="number"/>
      </hbox>
    </radiogroup>

    <hbox class="indent" align="start">
      <checkbox id="markread" label="&mark.label;" accesskey="&mark.accesskey;"/>
    </hbox>
  </vbox>

</dialog>