~ubuntu-branches/ubuntu/lucid/flashblock/lucid-proposed

« back to all changes in this revision

Viewing changes to content/flashblock/options.xul

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2009-11-30 01:21:27 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091130012127-ngxo3jqkddn3smi1
Tags: 1.5.11-2
* Fixed typo in debian/copyright.
* Using new dpkg v3 format, it rocks.
* Package description updated (taken from extension's homepage).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3
 
 
4
 
<!DOCTYPE dialog [
5
 
<!ENTITY % flashblockDTD SYSTEM "chrome://flashblock/locale/flashblock.dtd">
6
 
  %flashblockDTD;
7
 
<!ENTITY % versionDTD    SYSTEM "chrome://flashblock/content/version.dtd">
8
 
  %versionDTD;
9
 
]>
10
 
 
11
 
<dialog
12
 
    id="FlashblockOptions"
13
 
    title="&options.title;"
14
 
    buttons="accept, cancel"
15
 
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
16
 
        style="max-width: 36em;"
17
 
    onload="FBlockOptions.onLoad();window.sizeToContent();"
18
 
    ondialogaccept="doOK();">
19
 
 
20
 
<script type="application/x-javascript" src="flashblock-prefs.js"/>
21
 
<script type="application/x-javascript" src="options.js"/>
22
 
<stringbundle id="bundle_flashblock"
23
 
              src="chrome://flashblock/locale/flashblock.properties"/>
24
 
<stringbundle id="bundle_brand"
25
 
              src="chrome://global/locale/brand.properties"/>
26
 
 
27
 
<groupbox id="version"
28
 
          orient="horizontal"
29
 
          pack="start">
30
 
  <description>&preferences.title;</description>
31
 
  <description id="flashblockVersion"
32
 
               style="margin-left:0;">&extension.version;</description>
33
 
</groupbox>
34
 
 
35
 
<tabbox flex="1">
36
 
  <tabs>
37
 
    <tab label="&general.label;"   accesskey=""/>
38
 
    <tab label="&whitelist.label;" accesskey=""/>
39
 
  </tabs>
40
 
 
41
 
  <tabpanels flex="1">
42
 
 
43
 
    <vbox id="general">
44
 
      <checkbox id="fb_enableCheckbox"
45
 
                label="&flashblockEnable;"/>
46
 
      <description>&enableJavascript.label;</description>
47
 
    </vbox>
48
 
 
49
 
    <vbox id="whitelist"
50
 
          flex="1">
51
 
      <description>&whitelistDescription;</description>
52
 
      <separator class="thin"/>
53
 
      <hbox>
54
 
        <textbox id="fb_siteTextbox"
55
 
                 flex="1"
56
 
                 onkeypress="addOnKeypress(event);"
57
 
                 oninput="siteInput(event.target);"/>
58
 
        <button id="btnAdd"
59
 
                label="&btnAdd.label;"
60
 
                disabled="true"
61
 
                oncommand="addSite();"/>
62
 
      </hbox>
63
 
      <hbox>
64
 
        <vbox flex="1">
65
 
          <listbox id="fb_sitelist"
66
 
                   seltype="single"
67
 
                   style="height: 14em;"
68
 
                   onselect="siteSelected(event.target);"/>
69
 
        </vbox>
70
 
        <vbox>
71
 
          <button id="fb_btnRemove"
72
 
                  label="&btnRemove.label;"
73
 
                  disabled="true"
74
 
                  oncommand="removeSite();"/>
75
 
          <button id="fb_btnRemoveAll"
76
 
                  label="&btnRemoveAll.label;"
77
 
                  oncommand="removeAllSites();"/>
78
 
        </vbox>
79
 
      </hbox>
80
 
    </vbox>
81
 
 
82
 
  </tabpanels>
83
 
</tabbox>
84
 
 
85
 
</dialog>