~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/embedding/components/ui/helperAppDlg/nsHelperAppDlg.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> 
 
2
 
 
3
<!-- 
 
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/
 
8
  
 
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.
 
13
  
 
14
  The Original Code is Mozilla Communicator client code, released
 
15
  March 31, 1998.
 
16
  
 
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
 
20
  Rights Reserved.
 
21
  
 
22
  Contributor(s):
 
23
    Bill Law    <law@netscape.com>
 
24
 
 
25
-->
 
26
 
 
27
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
28
 
 
29
<!DOCTYPE dialog [
 
30
  <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
 
31
  %brandDTD;
 
32
  <!ENTITY % nsHelperAppDlgDTD SYSTEM "chrome://global/locale/nsHelperAppDlg.dtd" >
 
33
  %nsHelperAppDlgDTD;
 
34
]>            
 
35
 
 
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()"
 
41
        style="width: 40em;"
 
42
        ondialogaccept="return dialog.onOK()"
 
43
        ondialogcancel="return dialog.onCancel()">
 
44
            
 
45
    <vbox>
 
46
        <hbox>
 
47
            <vbox flex="1">
 
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>
 
52
            </vbox>
 
53
            <vbox>
 
54
                <image id="contentTypeImage"/>
 
55
            </vbox>
 
56
        </hbox>
 
57
        
 
58
        <separator orient="horizontal" class="thin"/>
 
59
        
 
60
        <radiogroup id="mode" oncommand="dialog.toggleChoice()" align="stretch">
 
61
            <hbox>
 
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"
 
66
                       flex="7"
 
67
                       label="&useSystemDefault.noDesc.label;"
 
68
                       accesskey="&useSystemDefault.accesskey;"/>
 
69
                <spacer flex="3"/>
 
70
            </hbox>
 
71
            <hbox align="center">
 
72
                <radio id="openUsing"
 
73
                       label="&openUsing.label;"
 
74
                       accesskey="&openUsing.accesskey;"/>
 
75
                <textbox id="appPath"
 
76
                         flex="1"
 
77
                         oninput="dialog.updateOKButton()"
 
78
                         onfocus="this.select()"/>
 
79
                <button id="chooseApp"
 
80
                        label="&chooseApp.label;"
 
81
                        accesskey="&chooseApp.accesskey;"
 
82
                        oncommand="dialog.chooseApp()"/>
 
83
            </hbox>
 
84
            <hbox>
 
85
                <radio id="saveToDisk"
 
86
                       label="&saveToDisk.label;"
 
87
                       accesskey="&saveToDisk.accesskey;"/>
 
88
                <spacer flex="1"/>
 
89
            </hbox>
 
90
        </radiogroup>
 
91
        
 
92
        <separator orient="horizontal" class="thin"/>
 
93
 
 
94
        <checkbox id="alwaysHandle" label="&alwaysHandle.label;" accesskey="&alwaysHandle.accesskey;"/>
 
95
 
 
96
        <separator class="groove"/>
 
97
    </vbox>
 
98
 
 
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>
 
110
    </strings>
 
111
</dialog>