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 20 matching lines...) Expand all Loading... |
31 ]> | 31 ]> |
32 | 32 |
33 <wizard | 33 <wizard |
34 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | 34 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
35 title="&wizard.title;" | 35 title="&wizard.title;" |
36 id="abpSendReportWizard" | 36 id="abpSendReportWizard" |
37 onload="initWizard();" | 37 onload="initWizard();" |
38 width="800" | 38 width="800" |
39 height="550" | 39 height="550" |
40 sendbuttonlabel="&sendButton.label;" | 40 sendbuttonlabel="&sendButton.label;" |
41 sendbuttonaccesskey="&sendButton.accesskey;" | |
42 windowtype="abp:sendReport"> | 41 windowtype="abp:sendReport"> |
43 | 42 |
44 <script type="application/x-javascript;version=1.7" src="utils.js"/> | 43 <script type="application/x-javascript;version=1.7" src="utils.js"/> |
45 <script type="application/x-javascript;version=1.7" src="sendReport.js"/> | 44 <script type="application/x-javascript;version=1.7" src="sendReport.js"/> |
46 | 45 |
47 <keyset id="wizardKeys"> | 46 <keyset id="wizardKeys"> |
48 <key id="undoKey" modifiers="accel" key="Z" oncommand="if (document.documentEl
ement.currentPage.id == 'screenshotPage') screenshotDataSource.undo();"/> | 47 <key id="undoKey" modifiers="accel" key="Z" oncommand="if (document.documentEl
ement.currentPage.id == 'screenshotPage') screenshotDataSource.undo();"/> |
49 </keyset> | 48 </keyset> |
50 | 49 |
51 <box hidden="true"> | 50 <box hidden="true"> |
(...skipping 15 matching lines...) Expand all Loading... |
67 <wizardpage id="dataCollectorPage" pageid="dataCollector" next="typeSelector" la
bel="&dataCollector.heading;" onpageshow="initDataCollectorPage();"> | 66 <wizardpage id="dataCollectorPage" pageid="dataCollector" next="typeSelector" la
bel="&dataCollector.heading;" onpageshow="initDataCollectorPage();"> |
68 <description>&dataCollector.description;</description> | 67 <description>&dataCollector.description;</description> |
69 | 68 |
70 <progressmeter id="dataCollectorProgress" mode="undetermined"/> | 69 <progressmeter id="dataCollectorProgress" mode="undetermined"/> |
71 </wizardpage> | 70 </wizardpage> |
72 | 71 |
73 <wizardpage id="typeSelectorPage" pageid="typeSelector" next="screenshot" label=
"&typeSelector.heading;" onpageshow="initTypeSelectorPage();"> | 72 <wizardpage id="typeSelectorPage" pageid="typeSelector" next="screenshot" label=
"&typeSelector.heading;" onpageshow="initTypeSelectorPage();"> |
74 <description>&typeSelector.description;</description> | 73 <description>&typeSelector.description;</description> |
75 | 74 |
76 <radiogroup id="typeGroup" oncommand="typeSelectionUpdated();"> | 75 <radiogroup id="typeGroup" oncommand="typeSelectionUpdated();"> |
77 <radio id="typeFalsePositive" value="false positive" label="&typeSelector.fa
lsePositive.label;" accesskey="&typeSelector.falsePositive.accesskey;"/> | 76 <radio id="typeFalsePositive" value="false positive" label="&typeSelector.fa
lsePositive.label;"/> |
78 <description class="radioDescription">&typeSelector.falsePositive.descriptio
n;</description> | 77 <description class="radioDescription">&typeSelector.falsePositive.descriptio
n;</description> |
79 <radio id="typeFalseNegative" value="false negative" label="&typeSelector.fa
lseNegative.label;" accesskey="&typeSelector.falseNegative.accesskey;"/> | 78 <radio id="typeFalseNegative" value="false negative" label="&typeSelector.fa
lseNegative.label;"/> |
80 <description class="radioDescription">&typeSelector.falseNegative.descriptio
n;</description> | 79 <description class="radioDescription">&typeSelector.falseNegative.descriptio
n;</description> |
81 <radio id="typeOther" value="other" label="&typeSelector.other.label;" acces
skey="&typeSelector.other.accesskey;"/> | 80 <radio id="typeOther" value="other" label="&typeSelector.other.label;"/> |
82 <description class="radioDescription">&typeSelector.other.description;</desc
ription> | 81 <description class="radioDescription">&typeSelector.other.description;</desc
ription> |
83 </radiogroup> | 82 </radiogroup> |
84 | 83 |
85 <deck id="recentReports" currentIndex="0" flex="1"> | 84 <deck id="recentReports" currentIndex="0" flex="1"> |
86 <vbox pack="end"> | 85 <vbox pack="end"> |
87 <label class="text-link" value="&showRecentReports.label;" onclick="E('rec
entReports').selectedIndex = 1;"/> | 86 <label class="text-link" value="&showRecentReports.label;" onclick="E('rec
entReports').selectedIndex = 1;"/> |
88 </vbox> | 87 </vbox> |
89 <groupbox flex="1"> | 88 <groupbox flex="1"> |
90 <caption label="&recentReports.label;"/> | 89 <caption label="&recentReports.label;"/> |
91 <grid flex="1" id="recentReportsList"> | 90 <grid flex="1" id="recentReportsList"> |
92 <columns> | 91 <columns> |
93 <column flex="2"/> | 92 <column flex="2"/> |
94 <column flex="1"/> | 93 <column flex="1"/> |
95 <column/> | 94 <column/> |
96 </columns> | 95 </columns> |
97 <rows id="recentReportsRows" onclick="reportsListDataSource.handleClick(
event);"/> | 96 <rows id="recentReportsRows" onclick="reportsListDataSource.handleClick(
event);"/> |
98 </grid> | 97 </grid> |
99 | 98 |
100 <hbox pack="start"> | 99 <hbox pack="start"> |
101 <button label="&recentReports.clear.label;" accesskey="&recentReports.cl
ear.accesskey;" oncommand="reportsListDataSource.clear();"/> | 100 <button label="&recentReports.clear.label;" oncommand="reportsListDataSo
urce.clear();"/> |
102 </hbox> | 101 </hbox> |
103 </groupbox> | 102 </groupbox> |
104 </deck> | 103 </deck> |
105 </wizardpage> | 104 </wizardpage> |
106 | 105 |
107 <wizardpage id="updatePage" pageid="update" next="screenshot" onpageshow="subscr
iptionUpdateDataSource.showPage();" reloadButtonLabel="&reloadButton.label;" rel
oadButtonAccesskey="&reloadButton.accesskey;"> | 106 <wizardpage id="updatePage" pageid="update" next="screenshot" onpageshow="subscr
iptionUpdateDataSource.showPage();" reloadButtonLabel="&reloadButton.label;"> |
108 <vbox id="updateInProgress"> | 107 <vbox id="updateInProgress"> |
109 <description>&update.inProgress.description;</description> | 108 <description>&update.inProgress.description;</description> |
110 <progressmeter mode="undetermined"/> | 109 <progressmeter mode="undetermined"/> |
111 </vbox> | 110 </vbox> |
112 | 111 |
113 <description id="updateFixedIssue" hidden="true">&update.fixed.description;</d
escription> | 112 <description id="updateFixedIssue" hidden="true">&update.fixed.description;</d
escription> |
114 | 113 |
115 <vbox id="outdatedSubscriptions"> | 114 <vbox id="outdatedSubscriptions"> |
116 <description>&outdatedSubscriptions.description;</description> | 115 <description>&outdatedSubscriptions.description;</description> |
117 | 116 |
118 <description id="outdatedSubscriptionTemplate" class="text-link" onclick="UI
.loadInBrowser(this.getAttribute('_url'));"/> | 117 <description id="outdatedSubscriptionTemplate" class="text-link" onclick="UI
.loadInBrowser(this.getAttribute('_url'));"/> |
119 | 118 |
120 <vbox id="outdatedSubscriptionsList"/> | 119 <vbox id="outdatedSubscriptionsList"/> |
121 | 120 |
122 <hbox> | 121 <hbox> |
123 <button label="&update.start.label;" oncommand="subscriptionUpdateDataSour
ce.updateOutdated();window.close();"/> | 122 <button label="&update.start.label;" oncommand="subscriptionUpdateDataSour
ce.updateOutdated();window.close();"/> |
124 <button label="&issues.openPreferences.label;" oncommand="UI.openFiltersDi
alog();window.close();"/> | 123 <button label="&issues.openPreferences.label;" oncommand="UI.openFiltersDi
alog();window.close();"/> |
125 </hbox> | 124 </hbox> |
126 </vbox> | 125 </vbox> |
127 </wizardpage> | 126 </wizardpage> |
128 | 127 |
129 <wizardpage id="issuesPage" pageid="issues" next="screenshot" onpageshow="initIs
suesPage();" reloadButtonLabel="&reloadButton.label;" reloadButtonAccesskey="&re
loadButton.accesskey;"> | 128 <wizardpage id="issuesPage" pageid="issues" next="screenshot" onpageshow="initIs
suesPage();" reloadButtonLabel="&reloadButton.label;"> |
130 <description>&issues.description;</description> | 129 <description>&issues.description;</description> |
131 | 130 |
132 <vbox id="issuesBox" flex="1"> | 131 <vbox id="issuesBox" flex="1"> |
133 <groupbox id="issuesWhitelistBox" hidden="true"> | 132 <groupbox id="issuesWhitelistBox" hidden="true"> |
134 <description>&issues.whitelist.description;</description> | 133 <description>&issues.whitelist.description;</description> |
135 <hbox pack="end"> | 134 <hbox pack="end"> |
136 <button label="&issues.whitelist.remove.label;" oncommand="issuesDataSou
rce.removeWhitelist();"/> | 135 <button label="&issues.whitelist.remove.label;" oncommand="issuesDataSou
rce.removeWhitelist();"/> |
137 </hbox> | 136 </hbox> |
138 </groupbox> | 137 </groupbox> |
139 <groupbox id="issuesDisabledBox" hidden="true"> | 138 <groupbox id="issuesDisabledBox" hidden="true"> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 <groupbox id="issuesDisabledFiltersBox" hidden="true"> | 175 <groupbox id="issuesDisabledFiltersBox" hidden="true"> |
177 <description>&issues.disabledfilters.description;</description> | 176 <description>&issues.disabledfilters.description;</description> |
178 <hbox id="issuesDisabledFiltersTemplate" align="center" hidden="true"> | 177 <hbox id="issuesDisabledFiltersTemplate" align="center" hidden="true"> |
179 <description flex="1" crop="end"/> | 178 <description flex="1" crop="end"/> |
180 <button label="&issues.disabledfilters.enable.label;" oncommand="issuesD
ataSource.enableFilter(this.parentNode);"/> | 179 <button label="&issues.disabledfilters.enable.label;" oncommand="issuesD
ataSource.enableFilter(this.parentNode);"/> |
181 </hbox> | 180 </hbox> |
182 <vbox id="issuesDisabledFilters"/> | 181 <vbox id="issuesDisabledFilters"/> |
183 </groupbox> | 182 </groupbox> |
184 </vbox> | 183 </vbox> |
185 | 184 |
186 <checkbox id="issuesOverride" label="&issues.override.label;" accesskey="&issu
es.override.accesskey;" oncommand="updateIssuesOverride();"/> | 185 <checkbox id="issuesOverride" label="&issues.override.label;" oncommand="updat
eIssuesOverride();"/> |
187 <description id="issuesChangeMessage" hidden="true">&issues.change.description
;</description> | 186 <description id="issuesChangeMessage" hidden="true">&issues.change.description
;</description> |
188 </wizardpage> | 187 </wizardpage> |
189 | 188 |
190 <wizardpage id="typeWarningPage" pageid="typeWarning" next="screenshot" onpagesh
ow="initTypeWarningPage();"> | 189 <wizardpage id="typeWarningPage" pageid="typeWarning" next="screenshot" onpagesh
ow="initTypeWarningPage();"> |
191 <description id="typeWarningText"> | 190 <description id="typeWarningText"> |
192 &typeWarning.description; | 191 &typeWarning.description; |
193 <label id="typeWarningTextLink" class="text-link" onclick="UI.loadDocLink('r
eporter_other_link');"/> | 192 <label id="typeWarningTextLink" class="text-link" onclick="UI.loadDocLink('r
eporter_other_link');"/> |
194 </description> | 193 </description> |
195 | 194 |
196 <checkbox id="typeWarningOverride" label="&typeWarning.override.label;" access
key="&typeWarning.override.accesskey;" oncommand="updateTypeWarningOverride();"/
> | 195 <checkbox id="typeWarningOverride" label="&typeWarning.override.label;" oncomm
and="updateTypeWarningOverride();"/> |
197 </wizardpage> | 196 </wizardpage> |
198 | 197 |
199 <wizardpage id="screenshotPage" pageid="screenshot" next="comment" label="&scree
nshot.heading;" onpageshow="initScreenshotPage();"> | 198 <wizardpage id="screenshotPage" pageid="screenshot" next="comment" label="&scree
nshot.heading;" onpageshow="initScreenshotPage();"> |
200 <description>&screenshot.description;</description> | 199 <description>&screenshot.description;</description> |
201 | 200 |
202 <checkbox id="screenshotCheckbox" checked="true" label="&screenshot.attach.lab
el;" accesskey="&screenshot.attach.accesskey;" oncommand="screenshotDataSource.e
nabled = this.checked;"/> | 201 <checkbox id="screenshotCheckbox" checked="true" label="&screenshot.attach.lab
el;" oncommand="screenshotDataSource.enabled = this.checked;"/> |
203 <hbox id="screenshotButtons" pack="end"> | 202 <hbox id="screenshotButtons" pack="end"> |
204 <button id="screenshotMarkButton" type="radio" group="selectionType" oncomma
nd="screenshotDataSource.selectionType = 'mark';" checked="true" label="&screens
hot.mark.label;" accesskey="&screenshot.mark.accesskey;"/> | 203 <button id="screenshotMarkButton" type="radio" group="selectionType" oncomma
nd="screenshotDataSource.selectionType = 'mark';" checked="true" label="&screens
hot.mark.label;"/> |
205 <button id="screenshotRemoveButton" type="radio" group="selectionType" oncom
mand="screenshotDataSource.selectionType = 'remove';" label="&screenshot.remove.
label;" accesskey="&screenshot.remove.accesskey;"/> | 204 <button id="screenshotRemoveButton" type="radio" group="selectionType" oncom
mand="screenshotDataSource.selectionType = 'remove';" label="&screenshot.remove.
label;"/> |
206 <button id="screenshotUndoButton" oncommand="screenshotDataSource.undo();" d
isabled="true" label="&screenshot.undo.label;" accesskey="&screenshot.undo.acces
skey;"/> | 205 <button id="screenshotUndoButton" oncommand="screenshotDataSource.undo();" d
isabled="true" label="&screenshot.undo.label;"/> |
207 </hbox> | 206 </hbox> |
208 <vbox id="screenshotBox" flex="1"> | 207 <vbox id="screenshotBox" flex="1"> |
209 <canvas xmlns="http://www.w3.org/1999/xhtml" id="screenshotCanvas" onmousedo
wn="screenshotDataSource.startSelection(event);" onmouseup="screenshotDataSource
.stopSelection(event);" onmouseout="screenshotDataSource.stopSelection(event);"
onmousemove="screenshotDataSource.updateSelection(event);"/> | 208 <canvas xmlns="http://www.w3.org/1999/xhtml" id="screenshotCanvas" onmousedo
wn="screenshotDataSource.startSelection(event);" onmouseup="screenshotDataSource
.stopSelection(event);" onmouseout="screenshotDataSource.stopSelection(event);"
onmousemove="screenshotDataSource.updateSelection(event);"/> |
210 </vbox> | 209 </vbox> |
211 </wizardpage> | 210 </wizardpage> |
212 | 211 |
213 <wizardpage id="commentPage" pageid="comment" next="send" label="&commentPage.he
ading;" onpageshow="initCommentPage();"> | 212 <wizardpage id="commentPage" pageid="comment" next="send" label="&commentPage.he
ading;" onpageshow="initCommentPage();"> |
214 <description>&emailComment.label;</description> | 213 <description>&emailComment.label;</description> |
215 <hbox class="topLabel" align="baseline"> | 214 <hbox class="topLabel" align="baseline"> |
216 <label id="emailLabel" control="email" value="&email.label;" accesskey="&ema
il.accesskey;"/> | 215 <label id="emailLabel" control="email" value="&email.label;"/> |
217 <textbox id="email" persist="value" flex="1" maxlength="200" oninput="update
Email();"/> | 216 <textbox id="email" persist="value" flex="1" maxlength="200" oninput="update
Email();"/> |
218 </hbox> | 217 </hbox> |
219 <checkbox id="anonymousCheckbox" label="&anonymous.label;" accesskey="&anonymo
us.accesskey;" oncommand="updateEmail();"/> | 218 <checkbox id="anonymousCheckbox" label="&anonymous.label;" oncommand="updateEm
ail();"/> |
220 <description id="anonymityWarning" visible="false">&anonymity.warning;</descri
ption> | 219 <description id="anonymityWarning" visible="false">&anonymity.warning;</descri
ption> |
221 | 220 |
222 <description class="topLabel">&commentPage.description;</description> | 221 <description class="topLabel">&commentPage.description;</description> |
223 <label class="topLabel" control="comment" value="&comment.label;" accesskey="&
comment.accesskey;"/> | 222 <label class="topLabel" control="comment" value="&comment.label;"/> |
224 <textbox id="comment" multiline="true" flex="1" oninput="updateComment();"/> | 223 <textbox id="comment" multiline="true" flex="1" oninput="updateComment();"/> |
225 <description id="commentLengthWarning" visible="false">&comment.lengthWarning;
</description> | 224 <description id="commentLengthWarning" visible="false">&comment.lengthWarning;
</description> |
226 | 225 |
227 <checkbox id="extensionsCheckbox" label="&attachExtensions.label;" accesskey="
&attachExtensions.accesskey;" oncommand="updateExtensions(this.checked);"/> | 226 <checkbox id="extensionsCheckbox" label="&attachExtensions.label;" oncommand="
updateExtensions(this.checked);"/> |
228 | 227 |
229 <deck id="dataDeck" selectedIndex="0" flex="2"> | 228 <deck id="dataDeck" selectedIndex="0" flex="2"> |
230 <vbox pack="start"> | 229 <vbox pack="start"> |
231 <label class="text-link" value="&showData.label;" onclick="showDataField()
;"/> | 230 <label class="text-link" value="&showData.label;" onclick="showDataField()
;"/> |
232 </vbox> | 231 </vbox> |
233 <vbox> | 232 <vbox> |
234 <label control="data" value="&data.label;" accesskey="&data.accesskey;"/> | 233 <label control="data" value="&data.label;"/> |
235 <textbox id="data" readonly="true" multiline="true" wrap="off" flex="1"/> | 234 <textbox id="data" readonly="true" multiline="true" wrap="off" flex="1"/> |
236 </vbox> | 235 </vbox> |
237 </deck> | 236 </deck> |
238 </wizardpage> | 237 </wizardpage> |
239 | 238 |
240 <wizardpage id="sendPage" pageid="send" label="&sendPage.heading;" onpageshow="i
nitSendPage();"> | 239 <wizardpage id="sendPage" pageid="send" label="&sendPage.heading;" onpageshow="i
nitSendPage();"> |
241 <description id="sendReportMessage">&sendPage.waitMessage;</description> | 240 <description id="sendReportMessage">&sendPage.waitMessage;</description> |
242 | 241 |
243 <vbox id="sendReportErrorBox" align="end" hidden="true"> | 242 <vbox id="sendReportErrorBox" align="end" hidden="true"> |
244 <description id="sendReportError" textTemplate="&sendPage.errorMessage;" def
aultError="&subscription.lastDownload.connectionError;"> | 243 <description id="sendReportError" textTemplate="&sendPage.errorMessage;" def
aultError="&subscription.lastDownload.connectionError;"> |
245 <label id="sendReportErrorLinks" class="text-link" onclick="UI.loadDocLink
('reporter_connect_issue');"/> | 244 <label id="sendReportErrorLinks" class="text-link" onclick="UI.loadDocLink
('reporter_connect_issue');"/> |
246 </description> | 245 </description> |
247 <button id="sendRetryButton" label="&sendPage.retry.label;" oncommand="initS
endPage();"/> | 246 <button id="sendRetryButton" label="&sendPage.retry.label;" oncommand="initS
endPage();"/> |
248 </vbox> | 247 </vbox> |
249 | 248 |
250 <progressmeter id="sendReportProgress" mode="undetermined"/> | 249 <progressmeter id="sendReportProgress" mode="undetermined"/> |
251 | 250 |
252 <iframe id="result" type="content" flex="1" hidden="true" onclick="processLink
Click(event);" | 251 <iframe id="result" type="content" flex="1" hidden="true" onclick="processLink
Click(event);" |
253 confirmationMessage="&sendPage.confirmation;" knownIssueMessage="&send
Page.knownIssue;"/> | 252 confirmationMessage="&sendPage.confirmation;" knownIssueMessage="&send
Page.knownIssue;"/> |
254 | 253 |
255 <hbox id="copyLinkBox" pack="end" hidden="true"> | 254 <hbox id="copyLinkBox" pack="end" hidden="true"> |
256 <button id="copyLink" disabled="true" label="©Link.label;" accesskey="&c
opyLink.accesskey;" oncommand="copyLink(this.getAttribute('url'));"/> | 255 <button id="copyLink" disabled="true" label="©Link.label;" oncommand="co
pyLink(this.getAttribute('url'));"/> |
257 </hbox> | 256 </hbox> |
258 </wizardpage> | 257 </wizardpage> |
259 | 258 |
260 </wizard> | 259 </wizard> |
OLD | NEW |