1999-10-24 11:16:45 +04:00
|
|
|
<?xml version="1.0"?>
|
2006-05-17 06:22:45 +04:00
|
|
|
<!-- -*- 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): ______________________________________. -->
|
|
|
|
|
2006-05-17 06:24:37 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 06:24:35 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/pref/preftree.xul"?>
|
2006-05-17 06:22:45 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/platformDialogOverlay.xul"?>
|
|
|
|
|
2006-05-17 06:24:35 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
|
2006-05-17 06:22:45 +04:00
|
|
|
<window id="prefWindow"
|
|
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
1999-10-24 11:16:45 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 06:22:45 +04:00
|
|
|
title="&prefWindow.title;"
|
|
|
|
align="vertical"
|
1999-10-30 04:14:52 +04:00
|
|
|
class="dialog"
|
2006-05-17 06:22:45 +04:00
|
|
|
onload="window.handle = new PrefWindow( 'panelFrame' );"
|
2006-05-17 06:23:41 +04:00
|
|
|
persist="screenX screenY width height"
|
|
|
|
screenX="24" screenY="24"
|
2006-05-17 06:23:42 +04:00
|
|
|
width="620" height="550">
|
1999-10-30 04:14:52 +04:00
|
|
|
|
2006-05-17 06:23:40 +04:00
|
|
|
<script language="javascript" src="chrome://global/content/strres.js" />
|
|
|
|
<script language="javascript" src="chrome://global/content/dialogOverlay.js" />
|
|
|
|
<script language="javascript" src="chrome://global/content/widgetStateManager.js" />
|
2006-05-17 06:24:35 +04:00
|
|
|
<script language="javascript" src="chrome://communicator/content/pref/pref.js" />
|
1999-12-24 00:38:25 +03:00
|
|
|
|
2006-05-17 06:22:45 +04:00
|
|
|
<keyset id="keyset"/>
|
1999-10-30 04:14:52 +04:00
|
|
|
|
2006-05-17 06:23:40 +04:00
|
|
|
<box flex="1">
|
2006-05-17 06:22:45 +04:00
|
|
|
<!-- tree sidebar -->
|
2006-05-17 06:23:37 +04:00
|
|
|
<tree id="prefsTree" class="inset"/>
|
2006-05-17 06:23:40 +04:00
|
|
|
|
2006-05-17 06:22:45 +04:00
|
|
|
<!-- content frame -->
|
2006-05-17 06:23:33 +04:00
|
|
|
<html:iframe id="panelFrame" name="panelFrame" style="width:0px" flex="6"/>
|
2006-05-17 06:23:40 +04:00
|
|
|
<script language="javascript">
|
2006-05-17 06:23:38 +04:00
|
|
|
<![CDATA[
|
2006-05-17 06:23:39 +04:00
|
|
|
if( window.arguments && window.arguments[0] ) {
|
|
|
|
dump("*** panel to load is = " + window.arguments[0] + "\n");
|
2006-05-17 06:22:51 +04:00
|
|
|
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
|
2006-05-17 06:23:39 +04:00
|
|
|
}
|
|
|
|
else {
|
|
|
|
dump("*** window.arguments not found, defaulting to navigator panel \n");
|
2006-05-17 06:24:35 +04:00
|
|
|
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator/content/pref/pref-navigator.xul" );
|
2006-05-17 06:23:39 +04:00
|
|
|
}
|
2006-05-17 06:23:38 +04:00
|
|
|
]]>
|
2006-05-17 06:23:40 +04:00
|
|
|
</script>
|
2006-05-17 06:22:45 +04:00
|
|
|
</box>
|
2006-05-17 06:23:40 +04:00
|
|
|
|
|
|
|
<separator class="groove"/>
|
|
|
|
|
|
|
|
<box id="okCancelButtons" />
|
1999-10-24 11:16:45 +04:00
|
|
|
|
2006-05-17 06:22:45 +04:00
|
|
|
<keyset>
|
|
|
|
<key id="fooKey" key="p" xulkey="true" shift="true" onkeydown="foo()"/>
|
|
|
|
</keyset>
|
1999-10-30 04:14:52 +04:00
|
|
|
|
|
|
|
</window>
|