home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / toolkit.jar / content / global / nsHelperAppDlg.xul < prev    next >
Extensible Markup Language  |  2002-06-20  |  4KB  |  108 lines

  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. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  30.  
  31. <!DOCTYPE window [
  32.   <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  33.   %brandDTD;
  34.   <!ENTITY % nsHelperAppDlgDTD SYSTEM "chrome://global/locale/nsHelperAppDlg.dtd" >
  35.   %nsHelperAppDlgDTD;
  36. ]>            
  37.  
  38. <window id="nsHelperAppDlg"
  39.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  40.         title="&caption.label;"
  41.         onload="dialog.initDialog()"
  42.         onunload="if (dialog) dialog.onCancel()"
  43.         style="width: 40em;"
  44.         class="dialog">
  45.  
  46.             
  47.     <keyset id="dialogKeys"/>
  48.            
  49.     <vbox>
  50.       <hbox flex="1">
  51.         <vbox flex="1">
  52.           <description id="intro">&intro.label;</description>    
  53.           <description id="location" crop="center" value=""/>
  54.           <separator orient="horizontal" class="thin"/>
  55.           <description id="prompt">&prompt.label;</description>
  56.         </vbox>
  57.         <vbox>
  58.           <image id="contentTypeImage"/>
  59.         </vbox>
  60.       </hbox>
  61.  
  62.       <separator orient="horizontal" class="thin"/>
  63.       <radiogroup id="mode" oncommand="dialog.toggleChoice()" align="stretch">
  64.         <hbox flex="1" align="center">
  65.             <radio id="openUsing" flex="1"
  66.                    label="&openUsing.label;"
  67.                    accesskey="&openUsing.accesskey;"/>
  68.             <spacer flex="1"/>
  69.             <button id="chooseApp"
  70.                     label="&chooseApp.label;"
  71.                     accesskey="&chooseApp.accesskey;"
  72.                     oncommand="dialog.chooseApp()"/>
  73.         </hbox>
  74.         <vbox>
  75.           <hbox align="center">
  76.             <radio id="saveToDisk"
  77.                    label="&saveToDisk.label;"
  78.                    accesskey="&saveToDisk.accesskey;"/>
  79.           </hbox>
  80.         </vbox>
  81.       </radiogroup>
  82.       <separator orient="horizontal" class="thin"/>
  83.       <hbox align="center">
  84.         <checkbox id="alwaysAskMe" label="&alwaysAsk.label;" accesskey="&alwaysAsk.accesskey;"/>
  85.       </hbox>
  86.     </vbox>
  87.  
  88.     <separator class="groove"/>
  89.  
  90.     <hbox>
  91.       <button id="default.set" label="&default.set.label;" accesskey="&default.set.accesskey;"
  92.               oncommand="dialog.setDefault()"/>
  93.       <spacer flex="1"/>
  94.       <hbox id="okCancelButtonsRight"/>
  95.     </hbox>
  96.            
  97.     <!-- Localizable strings (from .dtd) -->
  98.     <strings style="display:none;">
  99.         <string id="brandShortName">         &brandShortName;         </string>
  100.         <string id="intro.withDesc">         &intro.label;            </string>
  101.         <string id="intro.noDesc">           &intro.noDesc.label;     </string>
  102.         <string id="openUsingString">        &openUsing.label;  </string>
  103.         <string id="badApp">                 &badApp;                 </string>
  104.         <string id="badApp.title">           &badApp.title;           </string>
  105.         <string id="noApplicationSpecified"> &noApplicationSpecified.label;</string>
  106.     </strings>
  107. </window>
  108.