summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/pref/content/pref-images.xul
blob: 62138bd45c560c6d108d52a66e9dadba0fe092d5 (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
<?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 overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % prefImagesDTD SYSTEM "chrome://communicator/locale/pref/pref-images.dtd" >
%prefImagesDTD;
]>

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <prefpane id="images_pane"
            label="&pref.images.title;">
    <preferences id="images_preferences">
      <preference id="permissions.default.image"
		  name="permissions.default.image" type="int"/>
      <preference id="pref.advanced.images.disable_button.view_image" type="bool"
                  name="pref.advanced.images.disable_button.view_image"/>
    </preferences>

    <groupbox id="imagesArea">
      <caption label="&imageBlocking.label;"/>

      <description>&imageDetails;</description>

      <radiogroup id="networkImageBehaviour"
                  preference="permissions.default.image">
        <radio value="2" label="&loadNoImagesRadio.label;"
               accesskey="&loadNoImagesRadio.accesskey;"/>
        <radio value="3" label="&loadOrgImagesRadio.label;"
               accesskey="&loadOrgImagesRadio.accesskey;"/>
        <radio value="1" label="&loadAllImagesRadio.label;"
               accesskey="&loadAllImagesRadio.accesskey;"/>
      </radiogroup>

      <hbox pack="end">
        <button id="viewImages"
                label="&viewPermissions.label;"
                accesskey="&viewPermissions.accesskey;"
                oncommand="toDataManager('|permissions');"
                preference="pref.advanced.images.disable_button.view_image"/>
      </hbox>
    </groupbox>
  </prefpane>
</overlay>