summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/news/content/downloadheaders.xhtml
blob: b212d5d288229992d01a9695c36b7882cd71d055 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?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/messenger.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/colors.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>

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

<dialog
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  style="max-width: 27em; padding: 10px"
  buttonpack="center"
  lightweightthemes="true"
  onload="OnLoad();"
>
  <stringbundle
    id="bundle_news"
    src="chrome://messenger/locale/news.properties"
  />
  <script src="chrome://messenger/content/downloadheaders.js" />
  <script src="chrome://messenger/content/dialogShadowDom.js" />

  <label
    id="newsgroupLabel"
    control="downloadGroup"
    class="header"
    style="width: 25em; max-width: 25em; margin-inline-start: 6px"
  />
  <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);"
        value="all"
      />
      <separator class="thin" />
      <hbox align="center">
        <radio
          id="some"
          selected="true"
          label="&download.label;"
          accesskey="&download.accesskey;"
          oncommand="setupDownloadUI(true);"
          aria-labelledby="some number headers"
          value="some"
        />
        <html:input
          id="number"
          type="number"
          min="1"
          aria-labelledby="some number headers"
        />
        <label
          id="headers"
          control="number"
          value="&headers.label;"
          accesskey="&headers.accesskey;"
        />
      </hbox>
    </radiogroup>

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