OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 | 2 |
3 <!-- | 3 <!-- |
4 - This file is part of Adblock Plus <http://adblockplus.org/>, | 4 - This file is part of Adblock Plus <http://adblockplus.org/>, |
5 - Copyright (C) 2006-2013 Eyeo GmbH | 5 - Copyright (C) 2006-2013 Eyeo GmbH |
6 - | 6 - |
7 - Adblock Plus is free software: you can redistribute it and/or modify | 7 - Adblock Plus is free software: you can redistribute it and/or modify |
8 - it under the terms of the GNU General Public License version 3 as | 8 - it under the terms of the GNU General Public License version 3 as |
9 - published by the Free Software Foundation. | 9 - published by the Free Software Foundation. |
10 - | 10 - |
(...skipping 22 matching lines...) Expand all Loading... |
33 height="400px" | 33 height="400px" |
34 persist="screenX screenY width height sizemode advancedMode" | 34 persist="screenX screenY width height sizemode advancedMode" |
35 advancedMode="false" | 35 advancedMode="false" |
36 buttonlabelaccept="&accept.label;" | 36 buttonlabelaccept="&accept.label;" |
37 buttonlabeldisclosure="&advanced.label;" | 37 buttonlabeldisclosure="&advanced.label;" |
38 buttonlabeldisclosure_on="&advanced.label;" | 38 buttonlabeldisclosure_on="&advanced.label;" |
39 buttonlabeldisclosure_off="&basic.label;" | 39 buttonlabeldisclosure_off="&basic.label;" |
40 windowtype="abp:composer"> | 40 windowtype="abp:composer"> |
41 | 41 |
42 <script type="application/x-javascript;version=1.7" src="utils.js"/> | 42 <script type="application/x-javascript;version=1.7" src="utils.js"/> |
43 <script type="application/x-javascript;version=1.7" src="composer.js"/> | 43 <script type="application/x-javascript;version=1.7" src="composer.js"/> |
44 | 44 |
45 <popupset> | 45 <popupset> |
46 <tooltip id="domainRestrictionHelp" label="&domainRestriction.help;"/> | 46 <tooltip id="domainRestrictionHelp" label="&domainRestriction.help;"/> |
47 </popupset> | 47 </popupset> |
48 | 48 |
49 <description id="disabledWarning" hidden="true" textTemplate="&disabled.warnin
g;"> | 49 <description id="disabledWarning" hidden="true" textTemplate="&disabled.warnin
g;"> |
50 <label class="text-link" onclick="doEnable()"/> | 50 <label class="text-link" onclick="doEnable()"/> |
51 </description> | 51 </description> |
52 | 52 |
53 <hbox id="filterBox" align="center"> | 53 <hbox id="filterBox" align="center"> |
54 <label control="filter" value="&filter.label;" accesskey="&filter.accesskey;
"/> | 54 <label control="filter" value="&filter.label;"/> |
55 <textbox id="filter" flex="1" tabindex="-1" readonly="true"/> | 55 <textbox id="filter" flex="1" tabindex="-1" readonly="true"/> |
56 <button id="preferences" label="&preferences.label;" accesskey="&preferences
.accesskey;" oncommand="openPreferences()"/> | 56 <button id="preferences" label="&preferences.label;" oncommand="openPreferen
ces()"/> |
57 </hbox> | 57 </hbox> |
58 | 58 |
59 <radiogroup orient="horizontal" id="filterType" oncommand="updateFilter()"> | 59 <radiogroup orient="horizontal" id="filterType" oncommand="updateFilter()"> |
60 <radio label="&type.filter.label;" accesskey="&type.filter.accesskey;" value
="filterlist" flex="1"/> | 60 <radio label="&type.filter.label;" value="filterlist" flex="1"/> |
61 <radio label="&type.whitelist.label;" accesskey="&type.whitelist.accesskey;"
value="whitelist" flex="1"/> | 61 <radio label="&type.whitelist.label;" value="whitelist" flex="1"/> |
62 </radiogroup> | 62 </radiogroup> |
63 | 63 |
64 <hbox flex="1"> | 64 <hbox flex="1"> |
65 <groupbox id="pattern" flex="1"> | 65 <groupbox id="pattern" flex="1"> |
66 <caption label="&pattern.label;"/> | 66 <caption label="&pattern.label;"/> |
67 <radiogroup id="patternGroup" flex="1" oncommand="updatePatternSelection()
" style="overflow: auto;"> | 67 <radiogroup id="patternGroup" flex="1" oncommand="updatePatternSelection()
" style="overflow: auto;"> |
68 <description id="patternExplanation">&pattern.explanation;</description> | 68 <description id="patternExplanation">&pattern.explanation;</description> |
69 <description id="regexpWarning" hidden="true">®exp.warning;</descript
ion> | 69 <description id="regexpWarning" hidden="true">®exp.warning;</descript
ion> |
70 <description id="shortpatternWarning" hidden="true">&shortpattern.warnin
g;</description> | 70 <description id="shortpatternWarning" hidden="true">&shortpattern.warnin
g;</description> |
71 <description id="matchWarning" hidden="true">&match.warning;</descriptio
n> | 71 <description id="matchWarning" hidden="true">&match.warning;</descriptio
n> |
72 <hbox id="customPatternBox"> | 72 <hbox id="customPatternBox"> |
73 <radio id="customPatternRadio" label="&custom.pattern.label;" accesske
y="&custom.pattern.accesskey;" value="" control="customPattern"/> | 73 <radio id="customPatternRadio" label="&custom.pattern.label;" value=""
control="customPattern"/> |
74 <textbox id="customPattern" flex="1" oninput="updateCustomPattern()"/> | 74 <textbox id="customPattern" flex="1" oninput="updateCustomPattern()"/> |
75 </hbox> | 75 </hbox> |
76 </radiogroup> | 76 </radiogroup> |
77 <hbox id="anchorGroup" pack="start" align="baseline"> | 77 <hbox id="anchorGroup" pack="start" align="baseline"> |
78 <label value="&anchors.label;"/> | 78 <label value="&anchors.label;"/> |
79 <description flex="1" style="margin: 0; padding: 0;"> | 79 <description flex="1" style="margin: 0; padding: 0;"> |
80 <checkbox id="anchorStart" labelRegular="&anchor.start.label;" accessk
eyRegular="&anchor.start.accesskey;" | 80 <checkbox id="anchorStart" labelRegular="&anchor.start.label;" |
81 labelFlexible="&anchor.start.flexible.label
;" accesskeyFlexible="&anchor.start.flexible.accesskey;" | 81 labelFlexible="&anchor.start.flexible.label
;" |
82 oncommand="updateFilter()"/> | 82 oncommand="updateFilter()"/> |
83 <checkbox id="anchorEnd" label="&anchor.end.label;" accesskey="&anchor
.end.accesskey;" oncommand="updateFilter()"/> | 83 <checkbox id="anchorEnd" label="&anchor.end.label;" oncommand="updateF
ilter()"/> |
84 </description> | 84 </description> |
85 </hbox> | 85 </hbox> |
86 </groupbox> | 86 </groupbox> |
87 <groupbox id="options"> | 87 <groupbox id="options"> |
88 <caption label="&options.label;"/> | 88 <caption label="&options.label;"/> |
89 <checkbox id="firstParty" label="&firstParty.label;" accesskey="&firstPart
y.accesskey;" oncommand="checkboxUpdated(this);"/> | 89 <checkbox id="firstParty" label="&firstParty.label;" oncommand="checkboxUp
dated(this);"/> |
90 <checkbox id="thirdParty" label="&thirdParty.label;" accesskey="&thirdPart
y.accesskey;" oncommand="checkboxUpdated(this);"/> | 90 <checkbox id="thirdParty" label="&thirdParty.label;" oncommand="checkboxUp
dated(this);"/> |
91 <checkbox id="matchCase" label="&matchCase.label;" accesskey="&matchCase.a
ccesskey;" oncommand="checkboxUpdated(this);"/> | 91 <checkbox id="matchCase" label="&matchCase.label;" oncommand="checkboxUpda
ted(this);"/> |
92 <hbox align="baseline"> | 92 <hbox align="baseline"> |
93 <checkbox id="domainRestrictionEnabled" label="&domainRestriction.label;
" accesskey="&domainRestriction.accesskey;" oncommand="checkboxUpdated(this);"/> | 93 <checkbox id="domainRestrictionEnabled" label="&domainRestriction.label;
" oncommand="checkboxUpdated(this);"/> |
94 <description class="help" value="?" tooltip="domainRestrictionHelp"/> | 94 <description class="help" value="?" tooltip="domainRestrictionHelp"/> |
95 </hbox> | 95 </hbox> |
96 <textbox id="domainRestriction" oninput="updateFilter()"/> | 96 <textbox id="domainRestriction" oninput="updateFilter()"/> |
97 | 97 |
98 <label id="typeGroupLabel" value="&types.label;"/> | 98 <label id="typeGroupLabel" value="&types.label;"/> |
99 <hbox> | 99 <hbox> |
100 <label id="selectAllTypes" class="text-link" value="&selectAllTypes.labe
l;" onclick="selectAllTypes(true)"/> | 100 <label id="selectAllTypes" class="text-link" value="&selectAllTypes.labe
l;" onclick="selectAllTypes(true)"/> |
101 <spacer flex="1"/> | 101 <spacer flex="1"/> |
102 <label id="unselectAllTypes" class="text-link" value="&unselectAllTypes.
label;" onclick="selectAllTypes(false)"/> | 102 <label id="unselectAllTypes" class="text-link" value="&unselectAllTypes.
label;" onclick="selectAllTypes(false)"/> |
103 </hbox> | 103 </hbox> |
104 <vbox flex="1" id="typeGroup"/> | 104 <vbox flex="1" id="typeGroup"/> |
105 | 105 |
106 <vbox> | 106 <vbox> |
107 <label control="collapse" value="&collapse.label;" accesskey="&collapse.
accesskey;"/> | 107 <label control="collapse" value="&collapse.label;"/> |
108 <menulist id="collapse" oncommand="updateFilter()"> | 108 <menulist id="collapse" oncommand="updateFilter()"> |
109 <menupopup> | 109 <menupopup> |
110 <menuitem id="collapseDefault" value="" label_yes="&collapse.default
.yes.label;" label_no="&collapse.default.no.label;" selected="true"/> | 110 <menuitem id="collapseDefault" value="" label_yes="&collapse.default
.yes.label;" label_no="&collapse.default.no.label;" selected="true"/> |
111 <menuitem label="&collapse.yes.label;" value="collapse"/> | 111 <menuitem label="&collapse.yes.label;" value="collapse"/> |
112 <menuitem label="&collapse.no.label;" value="~collapse"/> | 112 <menuitem label="&collapse.no.label;" value="~collapse"/> |
113 </menupopup> | 113 </menupopup> |
114 </menulist> | 114 </menulist> |
115 </vbox> | 115 </vbox> |
116 </groupbox> | 116 </groupbox> |
117 </hbox> | 117 </hbox> |
118 </dialog> | 118 </dialog> |
OLD | NEW |