mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
1fdeed80f7
<boxDerivedTag orient="horizontal|vertical"> patch by andersma@luther.edu r=timeless sr=blake
76 lines
2.4 KiB
XML
76 lines
2.4 KiB
XML
<?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):
|
|
-->
|
|
|
|
<!-- CHANGE THIS WHEN MOVING FILES -->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<!-- CHANGE THIS WHEN MOVING FILES -->
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/privacy.dtd" >
|
|
|
|
<window id="privacy"
|
|
class="dialog"
|
|
title="&windowtitle.label;"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="TutorialURL()"
|
|
orient="vertical">
|
|
<!--
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
|
-->
|
|
|
|
<script>
|
|
function TutorialURL()
|
|
{
|
|
var tutorialURL = "chrome://communicator/locale/wallet/privacy.html";
|
|
try {
|
|
var pref = Components.classes["@mozilla.org/preferences;1"].getService();
|
|
if(pref) {
|
|
pref = pref.QueryInterface( Components.interfaces.nsIPref );
|
|
if(pref) {
|
|
tutorialURL = pref.getLocalizedUnicharPref("wallet.TutorialFromMenu");
|
|
}
|
|
}
|
|
}
|
|
catch(e) {
|
|
}
|
|
var element = document.getElementById("maintext");
|
|
element.setAttribute("src", tutorialURL);
|
|
}
|
|
|
|
</script>
|
|
|
|
<keyset id="dialogKeys"/>
|
|
|
|
<iframe id="maintext" class="output-container" type="content" flex="1"/>
|
|
|
|
<!-- from dialogOverlay.xul -->
|
|
<spring style="height: 5px;"/>
|
|
<hbox>
|
|
<spring flex="100%"/>
|
|
<button class="right dialog" id="ok" label="&ok;" default="true" oncommand="doOKButton();"/>
|
|
</hbox>
|
|
<spring style="height: 5px;"/>
|
|
|
|
</window>
|