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

101 lines
3.5 KiB
XML

<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--
The contents of this file are subject to the Netscape Public License
Version 1.1 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1999 Netscape Communications Corporation. All Rights
Reserved.
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/sidebar/customize.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-charset.dtd" >
<window
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="main-box"
title="&charset.customize.title.label;"
class="dialog"
windowtype="sidebar:customize"
onload="Init();"
orient="vertical"
persist="width height"
width="500" height="394">
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-charset.js"/>
<!--
<box class="box-smallheader" title="&charset.customize.left.header;" id="confirm_text" value="&charset.customize.save.popup;"/>
-->
<!-- The two-pane -->
<box flex="1">
<box orient="vertical" flex="1">
<text class="label" value="&charset.customize.additional.label;" crop="right"/>
<!-- Available Charsets Tree -->
<tree class="inset" id="available_charsets" flex="1"
onselect="SelectAvailableCharset();"
ondblclick="AddAvailableCharset();"
datasources="rdf:null" indent="false" multiple="true">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren id="available_charsets_root" flex="1"/>
</tree>
<separator class="thin"/>
<box autostretch="never">
<button id="add_button" oncommand="AddAvailableCharset();" class="dialog"
label="&charset.customize.add.label;" disabled="true"/>
</box>
</box>
<separator orient="vertical"/>
<box orient="vertical" flex="1">
<text class="label" value="&charset.customize.current.label;" crop="right"/>
<tree class="inset" id="active_charsets" flex="1"
onselect="SelectActiveCharset();"
ondblclick="RemoveActiveCharset();"
datasources="rdf:null"
indent="false" multiple="true">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren id="active_charsets_root" flex="1"/>
</tree>
<separator class="thin"/>
<box autostretch="never">
<button id="remove_button" oncommand="RemoveActiveCharset();"
class="dialog" disabled="true"
label="&charset.customize.remove.label;"/>
</box>
</box>
<box orient="vertical">
<spring flex="1"/>
<button id="up_button" class="up small" disabled="true"
oncommand="MoveUp();"/>
<button id="down_button" class="down small" disabled="true"
oncommand="MoveDown();"/>
<spring flex="1"/>
</box>
</box>
<separator class="groove"/>
<box id="okCancelButtonsRight"/>
</window>