gecko-dev/suite/common/pref/pref-charset.xul

87 строки
3.2 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/TR/REC-html40"
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 language="javascript" src="chrome://communicator/content/pref/pref-charset.js"></script>
<keyset id="keyset"/>
<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();"
datasources="rdf:null" indent="false" multiple="true">
<treechildren id="available_charsets_root"/>
</tree>
<separator class="thin"/>
<box autostretch="never">
<button id="add_button" oncommand="AddAvailableCharset();" class="dialog"
value="&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();" datasources="rdf:null"
indent="false" multiple="true">
<treechildren id="active_charsets_root"/>
</tree>
<separator class="thin"/>
<box autostretch="never">
<button id="remove_button" oncommand="RemoveActiveCharset();" class="dialog" disabled="true"
value="&charset.customize.remove.label;" />
</box>
</box>
<box orient="vertical">
<spring flex="1"/>
<button oncommand="MoveUp();" id="up" class="up small" />
<button oncommand="MoveDown();" id="down" class="down small"/>
<spring flex="1"/>
</box>
</box>
<separator class="groove"/>
<box id="okCancelButtonsRight"/>
</window>