gecko-dev/xpfe/components/prefwindow/resources/content/pref-languages.xul
2000-03-14 11:31:54 +00:00

80 lines
3.1 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):
-->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-languages.dtd" >
<window 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-languages' ); else parent.queuedTag = 'pref-languages';">
<box type="smallheader" title="&lHeader;" description="&rHeader;"/>
<html:fieldset flex="100%">
<html:div class="hspace-both">&prefLangDecript;</html:div>
<spring style="height: 10px;"/>
<box align="horizontal" class="hspace-both" flex="100%" style="width: 93%; height: 100%;">
<box align="horizontal" flex="100%">
<tree id="langTree" class="inset" flex="100%" style="width: 100%; height: 50%">
<treecol style="width: 10%"/>
<treecol />
<treehead>
<treerow>
<treecell />
<treecell value="&languageColumnHeader.label;" />
</treerow>
</treehead>
<treechildren>
<treeitem>
<treerow>
<treecell class="propertylist" value="&engOrder.label;"/>
<treecell class="propertylist" value="&engOption.label;"/>
</treerow>
</treeitem>
</treechildren>
</tree>
<!-- XXX hard coding language value for now until tree is hooked up -->
<html:input type="hidden" id="intlAcceptLanguages"
value="&engOption.label;"
pref="true" preftype="string" prefstring="intl.accept_languages"/>
</box>
<spring flex="3%"/>
<box align="vertical">
<spring flex="100%"/>
<html:div><titledbutton id="up" class="dialog push up" /></html:div>
<html:div><titledbutton id="down" class="dialog push down" /></html:div>
<spring flex="100%"/>
</box>
<spring flex="3%"/>
<box align="vertical">
<titledbutton class="dialog push" value="&addButton.label;"/>
<titledbutton class="dialog push" value="&deleteButton.label;"/>
</box>
</box>
</html:fieldset>
<spring flex="75%"/>
</window>