зеркало из https://github.com/mozilla/gecko-dev.git
xul overlay for ok/cancel; add license
This commit is contained in:
Родитель
3bc4768e4f
Коммит
2523d49538
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче