2000-12-10 20:02:11 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/wallet/WalletTree.xul"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletViewer.dtd" >
|
|
|
|
|
|
|
|
<window id="walletViewer"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2000-12-21 00:49:53 +03:00
|
|
|
title="&windowtitle.label;"
|
2000-12-10 20:02:11 +03:00
|
|
|
class="dialog"
|
|
|
|
persist="screenX screenY width height"
|
|
|
|
screenX="24" screenY="24"
|
|
|
|
onload="Startup();"
|
2002-03-26 04:10:35 +03:00
|
|
|
width="720" height="470">
|
2000-12-10 20:02:11 +03:00
|
|
|
|
|
|
|
<script>
|
|
|
|
<![CDATA[
|
|
|
|
|
|
|
|
var hWalletViewer = null;
|
|
|
|
|
|
|
|
/** General startup routine for form-manager dialog.
|
|
|
|
**/
|
|
|
|
function Startup()
|
|
|
|
{
|
|
|
|
hWalletViewer = new nsWalletViewer('panelFrame');
|
|
|
|
|
|
|
|
if( !hWalletViewer )
|
|
|
|
throw "failed to create walletviewer";
|
|
|
|
|
|
|
|
hWalletViewer.init();
|
|
|
|
|
|
|
|
// If this call worked, we could center the window here:
|
|
|
|
// centerWindowOnScreen();
|
|
|
|
|
|
|
|
}
|
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2001-03-13 18:35:07 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/wallet/WalletViewer.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
2002-03-20 04:24:03 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
2001-04-05 23:53:13 +04:00
|
|
|
<keyset id="dialogKeys"/>
|
2000-12-10 20:02:11 +03:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox flex="1">
|
2000-12-10 20:02:11 +03:00
|
|
|
<!-- tree sidebar -->
|
2002-02-20 09:52:30 +03:00
|
|
|
<vbox style="width: 17em">
|
|
|
|
<tree id="panelTree" style="width: 0px" flex="1"/>
|
2001-08-09 06:01:24 +04:00
|
|
|
<button id="clearButton" label="&removeall.label;" oncommand="ClearAll()"/>
|
|
|
|
</vbox>
|
2002-02-20 09:52:30 +03:00
|
|
|
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="1"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
2000-12-10 20:02:11 +03:00
|
|
|
|
|
|
|
<separator/>
|
|
|
|
|
2002-03-20 04:24:03 +03:00
|
|
|
<hbox id="okCancelHelpButtonsRight" />
|
2000-12-10 20:02:11 +03:00
|
|
|
|
2001-08-18 05:04:47 +04:00
|
|
|
<script type="application/x-javascript">
|
|
|
|
<![CDATA[
|
|
|
|
document.getElementById("panelFrame").setAttribute("src", "chrome://communicator-region/locale/wallet/WalletName.xul");
|
|
|
|
document.getElementById("panelFrame").setAttribute("tag", "" );
|
|
|
|
]]>
|
|
|
|
</script>
|
2000-12-10 20:02:11 +03:00
|
|
|
</window>
|