home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / EdInsSrc.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-07-09  |  2.6 KB  |  65 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.   -->
  24.  
  25. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  26. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  27.  
  28. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?> 
  29. <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
  30.  
  31. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertSource.dtd">
  32.  
  33. <window class="dialog" title="&windowTitle.label;"
  34.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.     xmlns:html="http://www.w3.org/1999/xhtml"
  36.     onload = "Startup()"
  37.     orient="vertical" flex="1">
  38.  
  39.   <!-- Methods common to all editor dialogs -->
  40.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  41.   <script type="application/x-javascript" src="chrome://editor/content/EdInsSrc.js"/>
  42.   <script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
  43.  
  44.   <spring id="location" offsetY="50" persist="offsetX offsetY"/>
  45.   <broadcaster id="args" value=""/>
  46.   <keyset id="dialogKeys"/>
  47.  
  48.   <text class="label" id="srcMessage" value="&sourceEditField.label;"/>
  49.   <vbox flex="1" style="width: 30em; height: 20em;">
  50.     <textbox id="srcInput" multiline="true" rows="1" style="width: 1em" flex="1"/>
  51.   </vbox>
  52.   <!-- Will this accept the embedded HTML tags? -->
  53.   <hbox>
  54.     <spring class="bigspacer"/>
  55.     <text value="&example.label;"/>
  56.     <text class="bold" value="&exampleOpenTag.label;"/>
  57.     <text class="bold italic" value="&exampleText.label;"/>
  58.     <text class="bold" value="&exampleCloseTag.label;"/>
  59.   </hbox>
  60.   <spring class="spacer"/>
  61.   <separator class="groove"/>
  62.   <!-- from global dialogOverlay -->
  63.     <hbox id="okCancelButtons"/> 
  64. </window>
  65.