gecko-dev/xpfe/components/prefwindow/resources/content/PrefsWindow.xul

48 lines
1.4 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/dialogs.css" type="text/css"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY categoryHeader "Category">
<!ENTITY window.title "Preferences">
<!ENTITY helpButton.label "Help">
<!ENTITY cancelButton.label "Cancel">
<!ENTITY okButton.label "OK">
]>
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Top')" title="&window.title;">
<html:script language="javascript" src="PrefsWindow.js"/>
&categoryHeader;
<html:br />
<html:iframe name="preftree" id="preftree" src="preftree.xul"
scrolling="auto" resize="yes"/>
<html:iframe name="pref-appearance" id="pref-appearance"
src="pref-appearance.xul" width="72%" height="326" resize="yes" scrolling="no"/>
<html:table border="0" width="100%" cellpadding="0" cellspacing="0">
<html:tr>
<html:td valign="right" width="160">
<html:center>
<html:input type="button" align="bottom" value="&helpButton.label;" />
<html:input type="button" align="bottom" value="&cancelButton.label;" onclick="prefwindow.cancelPrefs();" />
<html:input type="button" align="bottom" value="&okButton.label;" onclick="prefwindow.savePrefs();" />
</html:center>
</html:td>
</html:tr>
</html:table>
</xul:window>