mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
91 lines
3.4 KiB
XML
91 lines
3.4 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"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-charset.dtd" >
|
|
|
|
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&charset.customize.title.label;"
|
|
onload="Init();"
|
|
ondialogaccept="return Save();"
|
|
persist="width height"
|
|
headertitle="&charset.customize.left.header;"
|
|
width="500" height="394">
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-charset.js"/>
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
|
|
observerService.notifyObservers(null, "charsetmenu-selected", "other");
|
|
]]>
|
|
</script>
|
|
|
|
<!-- The two-pane -->
|
|
<hbox flex="1">
|
|
<vbox flex="1">
|
|
<label value="&charset.customize.additional.label;"/>
|
|
<!-- Available Charsets Tree -->
|
|
<tree id="available_charsets" flex="1"
|
|
onselect="SelectAvailableCharset();"
|
|
ondblclick="AddAvailableCharset();"
|
|
datasources="rdf:null" seltype="multiple">
|
|
<treecolgroup>
|
|
<treecol flex="1"/>
|
|
</treecolgroup>
|
|
<treechildren id="available_charsets_root" flex="1"/>
|
|
</tree>
|
|
<separator class="thin"/>
|
|
<hbox align="center">
|
|
<button id="add_button" oncommand="AddAvailableCharset();"
|
|
label="&charset.customize.add.label;" disabled="true"/>
|
|
</hbox>
|
|
</vbox>
|
|
<separator orient="vertical"/>
|
|
<vbox flex="1">
|
|
<label value="&charset.customize.current.label;"/>
|
|
<tree id="active_charsets" flex="1"
|
|
onselect="SelectActiveCharset();"
|
|
ondblclick="RemoveActiveCharset();"
|
|
datasources="rdf:null"
|
|
indent="false" seltype="multiple">
|
|
<treecolgroup>
|
|
<treecol flex="1"/>
|
|
</treecolgroup>
|
|
<treechildren id="active_charsets_root" flex="1"/>
|
|
</tree>
|
|
<separator class="thin"/>
|
|
<hbox align="center">
|
|
<button id="remove_button" oncommand="RemoveActiveCharset();"
|
|
disabled="true"
|
|
label="&charset.customize.remove.label;"/>
|
|
</hbox>
|
|
</vbox>
|
|
<vbox>
|
|
<spacer flex="1"/>
|
|
<button id="up_button" class="up small" disabled="true"
|
|
oncommand="MoveUp();"/>
|
|
<button id="down_button" class="down small" disabled="true"
|
|
oncommand="MoveDown();"/>
|
|
<spacer flex="1"/>
|
|
</vbox>
|
|
</hbox>
|
|
</dialog> |