OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 | 2 |
3 <!-- This Source Code is subject to the terms of the Mozilla Public License | 3 <!-- This Source Code is subject to the terms of the Mozilla Public License |
4 - version 2.0 (the "License"). You can obtain a copy of the License at | 4 - version 2.0 (the "License"). You can obtain a copy of the License at |
5 - http://mozilla.org/MPL/2.0/. --> | 5 - http://mozilla.org/MPL/2.0/. --> |
6 | 6 |
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> | 7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
8 <?xml-stylesheet href="chrome://adblockplus/skin/filters.css" type="text/css"?> | 8 <?xml-stylesheet href="chrome://adblockplus/skin/filters.css" type="text/css"?> |
9 | 9 |
10 <!DOCTYPE dialog SYSTEM "chrome://adblockplus/locale/filters.dtd"> | 10 <!DOCTYPE dialog SYSTEM "chrome://adblockplus/locale/filters.dtd"> |
(...skipping 10 matching lines...) Expand all Loading... |
21 windowtype="abp:filters"> | 21 windowtype="abp:filters"> |
22 | 22 |
23 <script type="application/x-javascript;version=1.7" src="utils.js"/> | 23 <script type="application/x-javascript;version=1.7" src="utils.js"/> |
24 <script type="application/x-javascript;version=1.7" src="filters.js"/> | 24 <script type="application/x-javascript;version=1.7" src="filters.js"/> |
25 <script type="application/x-javascript;version=1.7" src="filters-subscriptionvie
w.js"/> | 25 <script type="application/x-javascript;version=1.7" src="filters-subscriptionvie
w.js"/> |
26 <script type="application/x-javascript;version=1.7" src="filters-subscriptionact
ions.js"/> | 26 <script type="application/x-javascript;version=1.7" src="filters-subscriptionact
ions.js"/> |
27 <script type="application/x-javascript;version=1.7" src="filters-filterview.js"/
> | 27 <script type="application/x-javascript;version=1.7" src="filters-filterview.js"/
> |
28 <script type="application/x-javascript;version=1.7" src="filters-filteractions.j
s"/> | 28 <script type="application/x-javascript;version=1.7" src="filters-filteractions.j
s"/> |
29 <script type="application/x-javascript;version=1.7" src="filters-backup.js"/> | 29 <script type="application/x-javascript;version=1.7" src="filters-backup.js"/> |
30 <script type="application/x-javascript;version=1.7" src="filters-search.js"/> | 30 <script type="application/x-javascript;version=1.7" src="filters-search.js"/> |
| 31 <script type="application/x-javascript;version=1.7" src="typoSettings.js"/> |
31 | 32 |
32 <keyset id="filtersKeyset"> | 33 <keyset id="filtersKeyset"> |
33 <key id="subscription-update-key" key="T" modifiers="accel" command="subscript
ion-update-command"/> | 34 <key id="subscription-update-key" key="T" modifiers="accel" command="subscript
ion-update-command"/> |
34 <key id="subscription-update-all-key" key="T" modifiers="accel,shift" command=
"subscription-update-all-command"/> | 35 <key id="subscription-update-all-key" key="T" modifiers="accel,shift" command=
"subscription-update-all-command"/> |
35 <key id="edit-key" keycode="VK_F2" oncommand="E(FilterActions.focused ? 'filte
rs-edit-command' : 'subscription-editTitle-command').doCommand();"/> | 36 <key id="edit-key" keycode="VK_F2" oncommand="E(FilterActions.focused ? 'filte
rs-edit-command' : 'subscription-editTitle-command').doCommand();"/> |
36 <key id="delete-key" keycode="VK_DELETE" oncommand="E(FilterActions.focused ?
'filters-delete-command' : 'subscription-delete-command').doCommand();"/> | 37 <key id="delete-key" keycode="VK_DELETE" oncommand="E(FilterActions.focused ?
'filters-delete-command' : 'subscription-delete-command').doCommand();"/> |
37 <key id="subscription-showHideFilters-key" key="R" modifiers="accel" command="
subscription-showHideFilters-command"/> | 38 <key id="subscription-showHideFilters-key" key="R" modifiers="accel" command="
subscription-showHideFilters-command"/> |
38 <key id="moveUp-key" keycode="VK_UP" modifiers="accel"/> | 39 <key id="moveUp-key" keycode="VK_UP" modifiers="accel"/> |
39 <key id="moveDown-key" keycode="VK_DOWN" modifiers="accel"/> | 40 <key id="moveDown-key" keycode="VK_DOWN" modifiers="accel"/> |
40 <key id="filters-add-key" keycode="VK_INSERT" oncommand="E('filters-add-comman
d').doCommand();"/> | 41 <key id="filters-add-key" keycode="VK_INSERT" oncommand="E('filters-add-comman
d').doCommand();"/> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 125 |
125 <description id="tooltip-additional"/> | 126 <description id="tooltip-additional"/> |
126 </tooltip> | 127 </tooltip> |
127 </popupset> | 128 </popupset> |
128 | 129 |
129 <hbox id="content" flex="1"> | 130 <hbox id="content" flex="1"> |
130 <tabbox id="tabs" flex="1" persist="selectedIndex"> | 131 <tabbox id="tabs" flex="1" persist="selectedIndex"> |
131 <tabs onselect="onTabChange(this.parentNode);"> | 132 <tabs onselect="onTabChange(this.parentNode);"> |
132 <tab label="&subscriptions.tab.label;"/> | 133 <tab label="&subscriptions.tab.label;"/> |
133 <tab label="&filters.tab.label;"/> | 134 <tab label="&filters.tab.label;"/> |
| 135 <tab label="&typoCorrections.tab.label;"/> |
134 </tabs> | 136 </tabs> |
135 <tabpanels flex="1"> | 137 <tabpanels flex="1"> |
136 <tabpanel id="subscriptionsTab" orient="vertical" flex="1"> | 138 <tabpanel id="subscriptionsTab" orient="vertical" flex="1"> |
137 <hbox pack="end"> | 139 <hbox pack="end"> |
138 <button id="selectSubscriptionButton" label="&addSubscription.label;…"
accesskey="&addSubscription.accesskey;" command="subscription-add-command"/> | 140 <button id="selectSubscriptionButton" label="&addSubscription.label;…"
accesskey="&addSubscription.accesskey;" command="subscription-add-command"/> |
139 </hbox> | 141 </hbox> |
140 | 142 |
141 <panel id="selectSubscriptionPanel" type="arrow" position="bottomcenter
topleft" | 143 <panel id="selectSubscriptionPanel" type="arrow" position="bottomcenter
topleft" |
142 orient="vertical" onkeypress="SelectSubscription.keyPress(event);
"> | 144 orient="vertical" onkeypress="SelectSubscription.keyPress(event);
"> |
143 <menuitem id="selectSubscriptionTemplate" hidden="true" | 145 <menuitem id="selectSubscriptionTemplate" hidden="true" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 <deck id="noFiltersDeck" flex="1"> | 296 <deck id="noFiltersDeck" flex="1"> |
295 <description flex="1">&noFilters.text;</description> | 297 <description flex="1">&noFilters.text;</description> |
296 <richlistbox id="groups" class="initialFocus" flex="1" | 298 <richlistbox id="groups" class="initialFocus" flex="1" |
297 onselect="onSelectionChange(this);" | 299 onselect="onSelectionChange(this);" |
298 ondragover="SubscriptionActions.dragOver(event);" | 300 ondragover="SubscriptionActions.dragOver(event);" |
299 ondrop="SubscriptionActions.drop(event, null);" | 301 ondrop="SubscriptionActions.drop(event, null);" |
300 onkeypress="SubscriptionActions.keyPress(event);"> | 302 onkeypress="SubscriptionActions.keyPress(event);"> |
301 </richlistbox> | 303 </richlistbox> |
302 </deck> | 304 </deck> |
303 </tabpanel> | 305 </tabpanel> |
| 306 <tabpanel id="typoCorrectionsTab" orient="vertical" flex="1"> |
| 307 <checkbox id="typo_enable" label="&typoCorrections.enableLabel;" oncomma
nd="TypoActions.setEnabled(this.checked)"/> |
| 308 <groupbox id="typo_whitelist_container" flex="1"> |
| 309 <listbox id="typo_whitelist" class="initialFocus" flex="1" seltype="mu
ltiple" onselect="TypoActions.onItemSelected(this);" _removeButton="typo_whiteli
st_remove-button" _emptyLabel="&typoCorrections.whitelistEmptyLabel;"> |
| 310 <listhead> |
| 311 <listheader label="&typoCorrections.whitelistLabel;"/> |
| 312 </listhead> |
| 313 <listcols> |
| 314 <listcol flex="1" /> |
| 315 </listcols> |
| 316 </listbox> |
| 317 <hbox align="right"> |
| 318 <button label="&typoCorrections.removeButtonLabel;" onclick="TypoAct
ions.removeRule(this, 'whitelist');" disabled="true" id="typo_whitelist_remove-b
utton" _list="typo_whitelist" /> |
| 319 </hbox> |
| 320 </groupbox> |
| 321 </tabpanel> |
304 </tabpanels> | 322 </tabpanels> |
305 </tabbox> | 323 </tabbox> |
306 | 324 |
307 <splitter id="filtersSplitter" persist="state" orient="horizontal" collapse="a
fter" state="collapsed" oncommand="FilterView.refresh();onSplitterStateChange(th
is);"> | 325 <splitter id="filtersSplitter" persist="state" orient="horizontal" collapse="a
fter" state="collapsed" oncommand="FilterView.refresh();onSplitterStateChange(th
is);"> |
308 <grippy id="filtersGrippy"/> | 326 <grippy id="filtersGrippy"/> |
309 </splitter> | 327 </splitter> |
310 | 328 |
311 <vbox id="filtersContainer" persist="width height" width="500"> | 329 <vbox id="filtersContainer" persist="width height" width="500"> |
312 <hbox pack="end"> | 330 <hbox pack="end"> |
313 <button id="findButton" label="&find.label;" accesskey="&find.accesskey;"
command="find-command"/> | 331 <button id="findButton" label="&find.label;" accesskey="&find.accesskey;"
command="find-command"/> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe
l;…" oncommand="Backup.restoreFromFile();"/> | 396 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe
l;…" oncommand="Backup.restoreFromFile();"/> |
379 </menupopup> | 397 </menupopup> |
380 </button> | 398 </button> |
381 | 399 |
382 <spacer flex="1"/> | 400 <spacer flex="1"/> |
383 | 401 |
384 <button id="close" dlgtype="accept" label="&close.label;"/> | 402 <button id="close" dlgtype="accept" label="&close.label;"/> |
385 </hbox> | 403 </hbox> |
386 | 404 |
387 </dialog> | 405 </dialog> |
OLD | NEW |