home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / editor / EditorSaveAsCharset.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  3KB  |  80 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.    - The contents of this file are subject to the Netscape Public
  4.    - License Version 1.1 (the "License"); you may not use this file
  5.    - except in compliance with the License. You may obtain a copy of
  6.    - the License at http://www.mozilla.org/NPL/
  7.    -  
  8.    - Software distributed under the License is distributed on an "AS
  9.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    - implied. See the License for the specific language governing
  11.    - rights and limitations under the License.
  12.    -  
  13.    - The Original Code is Mozilla Communicator client code, released
  14.    - March 31, 1998.
  15.    - 
  16.    - The Initial Developer of the Original Code is Netscape
  17.    - Communications Corporation. Portions created by Netscape are
  18.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    - Rights Reserved.
  20.    - 
  21.    - Contributor(s):
  22.    -    loadrunner@betak.net
  23.    -    Neil Rashbrook <neil@parkwaycc.co.uk>
  24.   -->
  25.  
  26. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  27. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  28.  
  29. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  30.  
  31. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorSaveAsCharset.dtd">
  32. <!-- dialog containing a control requiring initial setup -->
  33. <!-- WE SHOULD NOT USE ABSOLUTE WITH AND HEIGHT - USE BOXES INSTEAD? -->
  34. <dialog title="&windowTitle.label;"
  35.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  36.     onload = "Startup()"
  37.     ondialogaccept="return onAccept();"
  38.     ondialogcancel="return onCancel();"
  39.     style="width: 32em;">
  40.  
  41.     <!-- Methods common to all editor dialogs -->
  42.     <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  43.     <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  44.     <script type="application/x-javascript" src="chrome://editor/content/EditorSaveAsCharset.js"/>
  45.     
  46.     <spacer id="location" offsetY="50" persist="offsetX offsetY"/>
  47.     <broadcaster id="args" value=""/>
  48.  
  49.     <groupbox><caption label="&documentTitleTitle.label;"/>
  50.         <!-- Text labels filled in from editor.properties -->
  51.         <label id="EnterTitleLabel"/> 
  52.         <textbox id="TitleInput" oninput="TitleChanged();"/>
  53.         <description id="TitleHelp" class="wrap" style="width:1em" />
  54.     </groupbox>
  55.  
  56.     <groupbox flex="1"><caption label="&documentCharsetTitle.label;"/>
  57.         <label value="&documentCharsetDesc.label;"/>
  58.         <tree id="CharsetTree" height="148" hidecolumnpicker="true" onselect="SelectCharset();"
  59.               datasources="rdf:charset-menu" ref="NC:DecodersRoot" flags="dont-build-content">
  60.             <treecols>
  61.                 <treecol id="CharsetCol" flex="1" hideheader="true"/>
  62.             </treecols>
  63.             <template>
  64.                 <rule>
  65.                     <treechildren>
  66.                         <treeitem uri="rdf:*">
  67.                             <treerow>
  68.                                 <treecell label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  69.                             </treerow>
  70.                         </treeitem>
  71.                     </treechildren>
  72.                 </rule>
  73.             </template>
  74.         </tree>
  75.     </groupbox>
  76.  
  77.     <checkbox id="ExportToText" label="&documentExportToText.label;" />
  78.     <separator class="groove"/>
  79. </dialog>
  80.