pjs/suite/common/pref/pref.xul

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

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2006-05-17 06:24:52 +04:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
2006-05-17 06:24:35 +04:00
<?xul-overlay href="chrome://communicator/content/pref/preftree.xul"?>
2006-05-17 06:24:35 +04:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
2006-05-17 06:24:52 +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#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="Foopy"
orient="vertical"
class="dialog"
persist="screenX screenY width height"
screenX="24" screenY="24"
onload="hPrefWindow = new nsPrefWindow('panelFrame');"
width="620" height="470">
<script language="javascript" src="chrome://global/content/nsWidgetStateManager.js"></script>
<script language="javascript" src="chrome://communicator/content/pref/nsPrefWindow.js"></script>
<keyset id="keyset"/>
<box flex="1">
<!-- tree sidebar -->
<tree class="inset" id="prefsTree" flex="1"/>
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="4"/>
2006-05-17 06:24:52 +04:00
<script language="JavaScript">
<![CDATA[
if( window.arguments && window.arguments[0] ) {
dump("*** panel to load is = " + window.arguments[0] + "\n");
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
2006-05-17 06:24:52 +04:00
document.getElementById("panelFrame").setAttribute("tag", window.arguments[0] );
}
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:24:52 +04:00
document.getElementById("panelFrame").setAttribute("tag", "chrome://communicator/content/pref/pref-navigator.xul" );
}
]]>
</script>
</box>
<separator class="groove"/>
2006-05-17 06:24:52 +04:00
<box id="okCancelButtonsRight" />
</window>