2006-05-17 06:24:01 +04:00
|
|
|
<?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.
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
2006-05-17 06:24:37 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 06:24:45 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/sidebar/customize.css" type="text/css"?>
|
2006-05-17 06:24:27 +04:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
2006-05-17 06:24:01 +04:00
|
|
|
|
2006-05-17 06:24:35 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-charset.dtd" >
|
2006-05-17 06:24:01 +04:00
|
|
|
|
|
|
|
<window
|
2006-05-17 06:25:47 +04:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2006-05-17 06:24:01 +04:00
|
|
|
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();"
|
2006-05-17 06:24:44 +04:00
|
|
|
orient="vertical"
|
2006-05-17 06:24:01 +04:00
|
|
|
persist="width height"
|
2006-05-17 06:24:43 +04:00
|
|
|
width="500" height="394">
|
2006-05-17 06:24:01 +04:00
|
|
|
|
2006-05-17 06:28:42 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-charset.js"/>
|
2006-05-17 06:24:44 +04:00
|
|
|
|
2006-05-17 06:25:58 +04:00
|
|
|
<!--
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox class="box-smallheader" title="&charset.customize.left.header;" id="confirm_text" value="&charset.customize.save.popup;"/>
|
2006-05-17 06:25:58 +04:00
|
|
|
-->
|
2006-05-17 06:24:01 +04:00
|
|
|
|
|
|
|
<!-- The two-pane -->
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox flex="1">
|
|
|
|
<vbox flex="1">
|
2006-05-17 06:28:11 +04:00
|
|
|
<text class="label" value="&charset.customize.additional.label;" crop="right"/>
|
2006-05-17 06:24:28 +04:00
|
|
|
<!-- Available Charsets Tree -->
|
2006-05-17 06:28:11 +04:00
|
|
|
<tree class="inset" id="available_charsets" flex="1"
|
|
|
|
onselect="SelectAvailableCharset();"
|
|
|
|
ondblclick="AddAvailableCharset();"
|
2006-05-17 06:24:44 +04:00
|
|
|
datasources="rdf:null" indent="false" multiple="true">
|
2006-05-17 06:25:57 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treechildren id="available_charsets_root" flex="1"/>
|
2006-05-17 06:24:44 +04:00
|
|
|
</tree>
|
|
|
|
<separator class="thin"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox autostretch="never">
|
2006-05-17 06:24:44 +04:00
|
|
|
<button id="add_button" oncommand="AddAvailableCharset();" class="dialog"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&charset.customize.add.label;" disabled="true"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2006-05-17 06:24:44 +04:00
|
|
|
<separator orient="vertical"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
<vbox flex="1">
|
2006-05-17 06:28:11 +04:00
|
|
|
<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">
|
2006-05-17 06:25:57 +04:00
|
|
|
<treecolgroup>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecolgroup>
|
|
|
|
<treechildren id="active_charsets_root" flex="1"/>
|
2006-05-17 06:24:44 +04:00
|
|
|
</tree>
|
|
|
|
<separator class="thin"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox autostretch="never">
|
2006-05-17 06:28:11 +04:00
|
|
|
<button id="remove_button" oncommand="RemoveActiveCharset();"
|
|
|
|
class="dialog" disabled="true"
|
2006-05-17 06:28:51 +04:00
|
|
|
label="&charset.customize.remove.label;"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<vbox>
|
2006-05-17 06:24:44 +04:00
|
|
|
<spring flex="1"/>
|
2006-05-17 06:28:11 +04:00
|
|
|
<button id="up_button" class="up small" disabled="true"
|
|
|
|
oncommand="MoveUp();"/>
|
|
|
|
<button id="down_button" class="down small" disabled="true"
|
|
|
|
oncommand="MoveDown();"/>
|
2006-05-17 06:24:44 +04:00
|
|
|
<spring flex="1"/>
|
2006-05-17 06:30:33 +04:00
|
|
|
</vbox>
|
|
|
|
</hbox>
|
2006-05-17 06:24:01 +04:00
|
|
|
|
2006-05-17 06:24:43 +04:00
|
|
|
<separator class="groove"/>
|
2006-05-17 06:24:01 +04:00
|
|
|
|
2006-05-17 06:30:33 +04:00
|
|
|
<hbox id="okCancelButtonsRight"/>
|
2006-05-17 06:24:01 +04:00
|
|
|
|
|
|
|
</window>
|
|
|
|
|