xul overlay for ok/cancel; add license

This commit is contained in:
brade%netscape.com 1999-08-25 14:28:53 +00:00
Родитель 3bc4768e4f
Коммит 2523d49538
1 изменённых файлов: 31 добавлений и 8 удалений

Просмотреть файл

@ -1,6 +1,33 @@
<?xml version="1.0"?>
<!--
- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator client code, released
- March 31, 1998.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
-->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertSource.dtd">
<xul:window class="dialog" title="&windowTitle.label;"
@ -14,6 +41,7 @@
</script>
<script language="JavaScript" src="chrome://editor/content/EdInsSrc.js">
</script>
<script language="JavaScript" src="chrome://global/content/dialogOverlay.js" />
<xul:broadcaster id="args" value=""/>
@ -24,12 +52,7 @@
<textarea rows="6" cols="50" id="srcInput" />
</xul:box>
<table>
<tr>
<td align="right">
<xul:titledbutton class="spaced" id="OK" onclick="onOK()" value="&OKButton.label;"/>
<xul:titledbutton class="spaced" id="Cancel" onclick="onCancel()" value="&CancelButton.label;"/>
</td>
</tr>
</table>
<xul:spring flex="100%"/>
<xul:box id="okCancelButtons"/>
</xul:window>