2
<!-- ***** BEGIN LICENSE BLOCK *****
5
* This code is part of DownThemAll! - dTa!
6
* Copyright Ā© 2004-2006 Federico Parodi and Stefano Verna.
8
* See LICENSE and GPL for details.
10
* ***** END LICENSE BLOCK ***** -->
12
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
13
<?xml-stylesheet href="chrome://global/skin/toolbar.css" type="text/css"?>
14
<?xml-stylesheet href="chrome://dta/skin/select/style.css" type="text/css"?>
15
<?xml-stylesheet href="chrome://dta-platform/skin/select.css" type="text/css"?>
18
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/">
20
<!ENTITY % commonDTD SYSTEM "chrome://dta/locale/">
22
<!ENTITY % defcommonDTD SYSTEM "chrome://dta-locale/content/dta.dtd">
24
<!ENTITY % selectDTD SYSTEM "chrome://dta/locale/select.dtd">
26
<!ENTITY % defselectDTD SYSTEM "chrome://dta-locale/content/select.dtd">
31
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
32
title="DownThemAll! - &title;"
33
width="675" height="575"
36
onload="Dialog.load();"
37
persist="width height screenX screenY"
40
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
42
<script type="text/javascript" src="chrome://dta/content/common/internalFunctions.js" />
43
<script type="text/javascript" src="chrome://dta/content/dta/select.js" />
45
<stringbundleset xmlns="http://www.downthemall.net/properties#">
46
<stringbundle src="chrome://dta/locale/common.properties"/>
47
<stringbundle src="chrome://dta/locale/select.properties"/>
48
<stringbundle src="chrome://global/locale/dialog.properties"/>
52
<command id="cmdClose" oncommand="self.close();"/>
54
<command id="cmdSelectAll" oncommand="Dialog.selectAll();"/>
55
<command id="cmdSelectInv" oncommand="Dialog.invertSelection();"/>
56
<command id="cmdSelectFiltered" oncommand="Dialog.selectFiltered();"/>
57
<command id="cmdOpenSelection" oncommand="Dialog.openSelection();"/>
58
<command id="cmdCopyLinks" oncommand="Dialog.copyLinks();"/>
60
<command id="cmdStartEditMask" oncommand="Dialog.editMask();"/>
61
<command id="cmdAcceptEditMask" oncommand="Dialog.acceptEditMask();"/>
62
<command id="cmdCancelEditMask" oncommand="$('maskeditor').hidePopup();"/>
64
<command id="cmdCheck" oncommand="Dialog.toggleSelection(true);"/>
65
<command id="cmdUncheck" oncommand="Dialog.toggleSelection(false);"/>
66
<command id="cmdToggle" oncommand="Dialog.toggleSelection();"/>
68
<command id="cmdStart" oncommand="Dialog.download(true);"/>
69
<command id="cmdQueue" oncommand="Dialog.download(false);"/>
71
<command id="cmdBrowseDirectory" oncommand="Dialog.browseDir();"/>
73
<command id="cmdChangeToLinks" oncommand="Dialog.changeTab('links')"/>
74
<command id="cmdChangeToImages" oncommand="Dialog.changeTab('images')"/>
76
<command id="cmdPreferences" oncommand="showPreferences();"/>
80
<key id="kClose" keycode="VK_ESCAPE" command="cmdClose"/>
81
<key id="kCloseMac" modifiers="accel" key="W" command="cmdClose"/>
83
<key id="kSelectAll" modifiers="accel" key="A" command="cmdSelectAll"/>
84
<key id="kSelectInv" modifiers="accel" key="I" command="cmdSelectInv"/>
85
<key id="kSelectFiltered" modifiers="accel" key="F" command="cmdSelectFiltered"/>
86
<key id="kCopyLinks" modifiers="accel" key="C" command="cmdCopyLinks"/>
87
<key id="kOpenSelection" modifiers="accel" key="O" command="cmdOpenSelection"/>
89
<key id="kStart" keycode="VK_RETURN" command="cmdStart"/>
90
<key id="kStartAlt" keycode="VK_ENTER" command="cmdStart"/>
92
<key id="kQueue" modifiers="alt" keycode="VK_RETURN" command="cmdQueue"/>
93
<key id="kQueueAlt" modifiers="alt" keycode="VK_ENTER" command="cmdQueue"/>
96
<popupset id="popups">
97
<menupopup id="popup" onpopupshowing="return Dialog.showPopup();">
98
<menuitem class="menuitem-iconic" id="mcheck" label="&menu.check.label;" command="cmdCheck" />
99
<menuitem class="menuitem-iconic" id="muncheck" label="&menu.uncheck.label;" command="cmdUncheck" />
100
<menuitem class="menuitem-iconic" id="mtoggle" label="&menu.toggle.label;" command="cmdToggle" />
101
<menuseparator id="msep1" />
102
<menuitem class="menuitem-iconic" id="mrenaming" label="&mask3.label;" command="cmdStartEditMask" />
103
<menuseparator id="msep2" />
104
<menuitem id="selectall" class="menuitem-iconic" label="&selectall.label;" command="cmdSelectAll" key="kSelectAll" />
105
<menuitem id="selectfiltered" class="menuitem-iconic" label="&selectfiltered.label;" command="cmdSelectFiltered" key="kSelectFiltered" />
106
<menuitem id="selectinvert" class="menuitem-iconic" label="&selectinv.label;" command="cmdSelectInv" key="kSelectInv" />
108
<menuitem id="copylinks" label="&menu.copylinks2.label;" command="cmdCopyLinks" key="kCopyLinks"/>
109
<menuseparator id="msep3" />
110
<menuitem id="mopen" crop="center" class="menuitem-iconic" command="cmdOpenSelection" key="kOpenSelection" />
112
<panel id="maskeditor">
113
<groupbox orient="horizontal">
114
<caption label="&mask3.label;:" />
115
<saveddropdown id="maskeditor-selector" preference="renaming" flex="1" tooltiptext="&mask.tip;"/>
118
<hbox id="maskeditor-buttons" pack="end">
119
<button id="maskeditor-accept" command="cmdAcceptEditMask"/>
120
<button id="maskeditor-cancel" command="cmdCancelEditMask"/>
126
<toolbar class="findfiles toolbar-primary" chromedir="&locale.dir;">
127
<toolbarbutton class="toolbarbuttonDown" id="viewlinks" label="&tab.links.label;" command="cmdChangeToLinks" />
128
<toolbarbutton class="toolbarbuttonDown" id="viewpics" label="&tab.media.label;" command="cmdChangeToImages" />
131
<vbox id="dta-select" flex="1">
132
<notificationbox id="notifications" flex="1">
138
enableColumnDrag="true"
144
<treecol type="checkbox" fixed="true" editable="true" ignoreincolumnpicker="true" />
145
<treecol id="colURL" label="&url.value;" flex="35" crop="right" persist="width hidden" />
146
<splitter class="tree-splitter"/>
147
<treecol id="colResname" label="&resname.value;" flex="15" crop="right" hidden="true" persist="width hidden" />
148
<splitter class="tree-splitter"/>
149
<treecol id="colDesc" label="&header.desc.label;" flex="9" persist="width hidden" />
150
<splitter class="tree-splitter"/>
151
<treecol id="colMask" label="&mask3.label;" flex="5" persist="width hidden"/>
158
<hbox style="margin:7px 7px 3px 7px;" >
159
<vbox autostretch="never" flex="1">
160
<caption label="&directory.caption;" />
162
<saveddropdown id="directory" preference="directory" flex="1" placeholder="&directory.placeholder;"/>
163
<toolbarbutton id="browsedir" command="cmdBrowseDirectory" tooltiptext="&browse.tooltip;" />
166
<vbox id="renamingbox">
167
<caption label="&mask3.label;:" />
169
<saveddropdown id="renaming" preference="renaming" flex="1" tooltiptext="&mask.tip;"/>
172
<checkbox id="renamingOnce" label="&mask.once.label;"/>
176
<box style="margin:3px 7px;" orient="vertical" id="filterbox" class="closer" autostretch="never" closed="true" persist="closed" caption="&filters.caption;">
177
<grid flex="1" id="checkcontainer">
178
<columns id="checkcontainercols"/>
179
<rows id="checkcontainerrows"/>
182
<vbox style="margin:3px 7px;" class="closer" id="regexcontainer" closed="true" persist="closed" caption="&additional.caption;" tooltiptext="&additional.tip;">
184
<saveddropdown id="filter" flex="1" tooltiptext="&filter.tip;" preference="filter" allowempty="true" onchange="Dialog.notify();"/>
185
<checkbox id="disableothers" label="&disableother.label;" tooltiptext="&disableother.tooltip;" oncommand="Dialog.notify();"/>
189
<hbox align="baseline" pack="end" style="margin: 2px 7px 4px 7px" >
190
<button accesskey="&start.key;" label="&start.label;" id="startbutton" command="cmdStart" default="true"/>
191
<button accesskey="&queue.key;" label="&queue.label;" id="queuebutton" command="cmdQueue" />
192
<button id="cancelbutton" command="cmdClose" />
195
<statusbar id="footer">
196
<statusbarpanel id="status" flex="1" />
197
<statusbarpanel id="preferences" class="statusbarpanel-iconic-text text-link" label="&options.label;" command="cmdPreferences"/>