4
The contents of this file are subject to the Netscape Public
5
License Version 1.1 (the "License"); you may not use this file
6
except in compliance with the License. You may obtain a copy of
7
the License at http://www.mozilla.org/NPL/
9
Software distributed under the License is distributed on an "AS
10
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
implied. See the License for the specific language governing
12
rights and limitations under the License.
14
The Original Code is Mozilla Communicator client code, released
17
The Initial Developer of the Original Code is Netscape
18
Communications Corporation. Portions created by Netscape are
19
Copyright (C) 1998-1999 Netscape Communications Corporation. All
23
Bill Law <law@netscape.com>
27
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
30
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
32
<!ENTITY % nsHelperAppDlgDTD SYSTEM "chrome://global/locale/nsHelperAppDlg.dtd" >
36
<dialog id="nsHelperAppDlg"
37
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
38
title="&caption.label;"
39
onload="dialog.initDialog()"
40
onunload="if (dialog) dialog.onCancel()"
42
ondialogaccept="return dialog.onOK()"
43
ondialogcancel="return dialog.onCancel()">
48
<description id="intro">&intro.label;</description>
49
<description id="location" crop="center" value=""/>
50
<separator orient="horizontal" class="thin"/>
51
<description id="prompt">&prompt.label;</description>
54
<image id="contentTypeImage"/>
58
<separator orient="horizontal" class="thin"/>
60
<radiogroup id="mode" oncommand="dialog.toggleChoice()" align="stretch">
62
<!-- XXX Wallpaper over incremental reflow bug in XUL by giving
63
ourselves more space... In fact, all this business
64
with the hboxes is wallpaper. -->
65
<radio id="useSystemDefault"
67
label="&useSystemDefault.noDesc.label;"
68
accesskey="&useSystemDefault.accesskey;"/>
73
label="&openUsing.label;"
74
accesskey="&openUsing.accesskey;"/>
77
oninput="dialog.updateOKButton()"
78
onfocus="this.select()"/>
79
<button id="chooseApp"
80
label="&chooseApp.label;"
81
accesskey="&chooseApp.accesskey;"
82
oncommand="dialog.chooseApp()"/>
85
<radio id="saveToDisk"
86
label="&saveToDisk.label;"
87
accesskey="&saveToDisk.accesskey;"/>
92
<separator orient="horizontal" class="thin"/>
94
<checkbox id="alwaysHandle" label="&alwaysHandle.label;" accesskey="&alwaysHandle.accesskey;"/>
96
<separator class="groove"/>
99
<!-- Localizable strings (from .dtd) -->
100
<strings style="display:none;">
101
<string id="brandShortName"> &brandShortName; </string>
102
<string id="intro.withDesc"> &intro.label; </string>
103
<string id="intro.noDesc"> &intro.noDesc.label; </string>
104
<string id="intro.attachment.label"> &intro.attachment.label; </string>
105
<string id="intro.attachment.noDesc.label">&intro.attachment.noDesc.label;</string>
106
<string id="defaultApp"> &useSystemDefault.label; </string>
107
<string id="badApp"> &badApp; </string>
108
<string id="badApp.title"> &badApp.title; </string>
109
<string id="chooseAppFilePickerTitle"> &chooseAppFilePickerTitle; </string>