~ubuntu-branches/ubuntu/natty/adblock-plus/natty

« back to all changes in this revision

Viewing changes to elemhidehelper/chrome/content/composer.xul

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2009-06-02 14:31:44 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602143144-nq8kjlasb7rjux63
Tags: 1.0.2-0ubuntu1
* New upstream release (LP: #365067).
* Bump Standards-Version to 3.8.1.
* debian/control:
  - Move perl, zip to Build-Depends-Indep.
  - Update Maintainer field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
 
3
 
<!-- ***** BEGIN LICENSE BLOCK *****
4
 
   - Version: MPL 1.1
5
 
   -
6
 
   - The contents of this file are subject to the Mozilla Public License Version
7
 
   - 1.1 (the "License"); you may not use this file except in compliance with
8
 
   - the License. You may obtain a copy of the License at
9
 
   - http://www.mozilla.org/MPL/
10
 
   -
11
 
   - Software distributed under the License is distributed on an "AS IS" basis,
12
 
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13
 
   - for the specific language governing rights and limitations under the
14
 
   - License.
15
 
   -
16
 
   - The Original Code is Adblock Plus Element Hiding Helper.
17
 
   -
18
 
   - The Initial Developer of the Original Code is
19
 
   - Wladimir Palant.
20
 
   - Portions created by the Initial Developer are Copyright (C) 2006-2007
21
 
   - the Initial Developer. All Rights Reserved.
22
 
   -
23
 
   - Contributor(s):
24
 
   -
25
 
   - ***** END LICENSE BLOCK ***** -->
26
 
 
27
 
<!DOCTYPE overlay SYSTEM "chrome://elemhidehelper/locale/composer.dtd">
28
 
 
29
 
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
30
 
<?xml-stylesheet href="chrome://elemhidehelper/skin/composer.css" type="text/css"?>
31
 
 
32
 
<dialog id="ehh-composer"
33
 
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
34
 
    title="&dialog.title;"
35
 
    onload="init()"
36
 
    ondialogaccept="addExpression()"
37
 
    ondialogcancel="togglePreview(false)"
38
 
    ondialogdisclosure="setAdvancedMode(!advancedMode)"
39
 
    buttons="accept,cancel,disclosure"
40
 
    width="600px"
41
 
    height="400px"
42
 
    persist="screenX screenY width height sizemode advancedMode"
43
 
    advancedMode="false"
44
 
    buttonlabelaccept="&accept.label;"
45
 
    buttonlabeldisclosure="&advanced.label;"
46
 
    buttonlabeldisclosure_on="&advanced.label;"
47
 
    buttonlabeldisclosure_off="&basic.label;"
48
 
    windowtype="ehh:composer">
49
 
  <script type="application/x-javascript" src="composer.js"/>  
50
 
  
51
 
  <vbox id="expressionBox">
52
 
    <label control="expression" value="&expression.label;"/>
53
 
    <hbox>
54
 
      <textbox id="expression" flex="1" readonly="true"/>
55
 
      <checkbox id="preview" label="&preview.label;" oncommand="togglePreview(this.checked)" persist="checked"/>
56
 
    </hbox>
57
 
  </vbox>
58
 
 
59
 
  <hbox id="choices" flex="1">
60
 
    <groupbox id="domain" orient="vertical">
61
 
      <caption label="&domain.label;"/>
62
 
      <scrollbox flex="1" orient="vertical">
63
 
        <radiogroup id="domainGroup" _labelnone="&domain.none.label;"/>
64
 
      </scrollbox>
65
 
    </groupbox>
66
 
    <groupbox id="attributes" flex="2">
67
 
      <caption label="&attributes.label;"/>
68
 
      <hbox flex="1">
69
 
        <tree id="nodes-tree" width="200" seltype="single" enableColumnDrag="true" onselect="updateNodeSelection()" persist="width">
70
 
          <treecols>
71
 
            <treecol id="nodes-tree-node" label="&nodes-tree.node.label;" primary="true" width="200" persist="width ordinal hidden"/>
72
 
            <splitter class="tree-splitter" resizeafter="grow"/>
73
 
            <treecol id="nodes-tree-id" label="&nodes-tree.id.label;" width="80" persist="width ordinal hidden"/>
74
 
            <splitter class="tree-splitter" resizeafter="grow"/>
75
 
            <treecol id="nodes-tree-class" label="&nodes-tree.class.label;" width="80" persist="width ordinal hidden"/>
76
 
            <splitter class="tree-splitter" resizeafter="grow"/>
77
 
          </treecols>
78
 
          <treechildren id="nodes-tree-children"/>
79
 
        </tree>
80
 
        <splitter id="nodes-tree-splitter"/>
81
 
        <scrollbox id="attributes-list" orient="vertical" flex="1"
82
 
            _labeltagname="&attributes.tagname.label;"
83
 
            _labelfirstchild="&attributes.firstchild.label;"
84
 
            _labellastchild="&attributes.lastchild.label;"
85
 
            _labelcustom="&attributes.custom.label;"/>
86
 
      </hbox>
87
 
    </groupbox>
88
 
  </hbox>
89
 
</dialog>