gecko-dev/suite/common/pref/pref.xul

80 строки
2.9 KiB
Plaintext
Исходник Обычный вид История

1999-06-05 03:28:56 +04:00
<?xml version="1.0"?>
<!-- -*- Mode: HTML -*- -->
<!-- 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://pref/skin/" type="text/css"?>
<?xul-overlay href="chrome://pref/content/preftree.xul"?>
<?xul-overlay href="chrome://global/content/platformDialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref.dtd" >
<window id="prefWindow"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&prefWindow.title;"
align="vertical"
class="dialog"
onload="window.handle = new PrefWindow( 'panelFrame' );"
2006-05-17 06:23:32 +04:00
persist="width height"
2006-05-17 06:22:50 +04:00
width="620" height="470">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://global/content/dialogOverlay.js" />
<html:script language="javascript" src="chrome://global/content/widgetStateManager.js" />
<html:script language="javascript" src="chrome://pref/content/pref.js" />
<keyset id="keyset"/>
<spring style="height: 7px"/>
<box align="horizontal" flex="100%" style="width: 100%">
<!-- we may like to load this into a tabpanel set as per mpt's post -->
<spring style="width: 7px;"/>
<!-- tree sidebar -->
<html:div flex="40%">
<tree id="prefsTree" class="inset"/>
</html:div>
<spring style="width: 10px;"/>
<!-- content frame -->
<html:iframe id="panelFrame" name="panelFrame" flex="60%"/>
<html:script language="javascript">
if( window.arguments[0] )
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
else
document.getElementById("panelFrame").setAttribute("src", "chrome://pref/content/pref-navigator.xul" );
</html:script>
<spring style="width: 7px;"/>
</box>
<html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/>
<box align="horizontal">
<spring flex="100%"/>
<box id="okCancelButtons" style="margin-bottom: -2px;"/>
</box>
<spring style="height: 7px"/>
1999-06-05 03:28:56 +04:00
<keyset>
<key id="fooKey" key="p" xulkey="true" shift="true" onkeydown="foo()"/>
</keyset>
</window>