summaryrefslogtreecommitdiffstats
path: root/comm/suite/editor/components/dialogs/content/EdInsSrc.xhtml
blob: 32b89ebefd7c857a08184a06a870a0dc857b7de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://editor/locale/EditorInsertSource.dtd">

<dialog title="&windowTitle.label;"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    xmlns:html="http://www.w3.org/1999/xhtml"
    onload = "Startup()"
    buttonlabelaccept="&insertButton.label;"
    buttonaccesskeyaccept="&insertButton.accesskey;">

  <!-- Methods common to all editor dialogs -->
  <script src="chrome://global/content/globalOverlay.js"/>
  <script src="chrome://global/content/editMenuOverlay.js"/>
  <script src="chrome://editor/content/editorUtilities.js"/>
  <script src="chrome://editor/content/EdDialogCommon.js"/>
  <script src="chrome://editor/content/EdInsSrc.js"/>

  <spacer id="location" offsetY="50" persist="offsetX offsetY"/>

  <label id="srcMessage" value="&sourceEditField.label;"/>
  <vbox flex="1" style="width: 30em; height: 20em;">
    <html:textarea id="srcInput" rows="18" flex="1"/>
  </vbox>
  <!-- Will this accept the embedded HTML tags? -->
  <hbox>
    <spacer class="bigspacer"/>
    <label value="&example.label;"/>
    <label class="bold" value="&exampleOpenTag.label;"/>
    <label class="bold italic" value="&exampleText.label;"/>
    <label class="bold" value="&exampleCloseTag.label;"/>
  </hbox>
  <spacer class="spacer"/>
  <separator class="groove"/>
</dialog>