gecko-dev/xpfe/components/prefwindow/resources/content/pref-wallet.xul

98 lines
3.7 KiB
Plaintext
Raw Normal View History

<?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/
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"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-wallet.dtd" >
2000-02-14 01:42:09 +00:00
<window debug="false" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
align="vertical" title="&window.title;"
onload="if( parent.handle ) parent.handle.onpageload( 'pref-wallet' ); else parent.queuedTag = 'pref-wallet';">
<html:script language="JavaScript">
function viewSignons()
{
window.openDialog("chrome://wallet/content/SignonViewer.xul","","modal=yes,chrome,resizable=no");
}
function viewWallet()
{
window.openDialog("chrome://wallet/content/WalletEditor.xul","","modal=yes,chrome,resizable=no");
}
</html:script>
<box class="header" align="horizontal">
<titledbutton class="left-header-text" value="&lHeader;"/>
<spring class="header-spring" flex="1"/>
<titledbutton class="right-header-text" value="&rHeader;"/>
</box>
<!--should use titledbox instead of fieldset, but that was causing an assertion
when pref.js was setting it to display:none-->
<!--titledbox orient="vertical" id="walletAreax"-->
<html:fieldset id="walletArea">
2000-02-14 01:42:09 +00:00
<title><text value="&walletHeader;"/></title>
<html:div>&walletDetails;</html:div>
2000-02-14 01:42:09 +00:00
<spring class="vgap"/>
<box align="horizontal" vertical-align="baseline" >
<spring flex="1"/>
<html:div>
<html:label for="walletServer" accesskey="c" tabindex="0">
&server.label;
</html:label>
</html:div>
<html:input name="Wallet Server:" type="text" id="walletServer"
pref="true" preftype="string" prefstring="wallet.Server" flex="1"/>
2000-02-14 01:42:09 +00:00
</box>
<box align="horizontal">
<html:input type="checkbox" id="walletCaptureForms" prefdefval="true"
pref="true" preftype="bool" prefstring="wallet.captureForms" />
<html:label for="walletCaptureForms" accesskey="&walletEnabledCheck.accesskey;"
tabindex="0">
&walletEnabledCheck.label;
</html:label>
2000-02-14 01:42:09 +00:00
<spring flex="1"/>
<titledbutton value="&viewWallet.label;" class="dialog push" onclick="viewWallet();"/>
</box>
</html:fieldset>
<!--/titledbox-->
<titledbox orient="vertical" id="signonArea">
2000-02-14 01:42:09 +00:00
<title><text value="&signonHeader;"/></title>
<html:div>&signonDetails;</html:div>
<spring class="vgap"/>
<box align="horizontal" vertical-align="baseline" >
<html:input type="checkbox" id="signonRememberSignons" prefdefval="true"
pref="true" preftype="bool" prefstring="signon.rememberSignons" />
<html:label for="signonEnabledCheck" accesskey="&signonEnabledCheck.accesskey;"
tabindex="0">
&signonEnabledCheck.label;
</html:label>
2000-02-14 01:42:09 +00:00
<spring flex="1"/>
<titledbutton value="&viewSignons.label;" class="dialog push" onclick="viewSignons();"/>
</box>
2000-02-14 01:42:09 +00:00
<spring class="vgap"/>
</titledbox>
</window>