~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/composer/components/prefwindow/content.new/pref-charset-add.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
 
2
<!--
 
3
 
 
4
  The contents of this file are subject to the Netscape Public License
 
5
  Version 1.1 (the "NPL"); you may not use this file except in
 
6
  compliance with the NPL.  You may obtain a copy of the NPL at
 
7
  http://www.mozilla.org/NPL/
 
8
 
 
9
  Software distributed under the NPL is distributed on an "AS IS" basis,
 
10
  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
 
11
  for the specific language governing rights and limitations under the
 
12
  NPL.
 
13
 
 
14
  The Initial Developer of this code under the NPL is Netscape
 
15
  Communications Corporation.  Portions created by Netscape are
 
16
  Copyright (C) 1999 Netscape Communications Corporation.  All Rights
 
17
  Reserved.
 
18
 
 
19
 Contributor(s):
 
20
   Adrian Havill <havill@redhat.com>
 
21
-->
 
22
 
 
23
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
 
24
 
 
25
<!DOCTYPE dialog SYSTEM "chrome://communicator/locale/pref/pref-charset.dtd" >
 
26
 
 
27
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
28
        title="&charsetCustomize.title;"
 
29
        onload="Startup();"
 
30
        ondialogaccept="return SetAvailableCharset();"
 
31
        style="width: 25em;height: 28em;">
 
32
 
 
33
  <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-charset.js"/>
 
34
  <!-- XXX: Replace strres.js when pref-languages is converted -->
 
35
  <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
 
36
  <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
 
37
  <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
 
38
 
 
39
  <description>&charsetCustomize.description;</description>
 
40
  <separator class="thin"/>
 
41
  <description>&charsets.label;</description>
 
42
 
 
43
  <tree id="charsetTree" flex="1" hidecolumnpicker="true" 
 
44
        ondblclick="HandleDoubleClick(event.target)"
 
45
        onselect="SelectCharset()"
 
46
        datasources="rdf:charset-menu" ref="NC:EncodersRoot" flags="dont-build-content">
 
47
      <treecols>
 
48
          <treecol id="CharsetCol" flex="1" hideheader="true"/>
 
49
      </treecols>
 
50
      <template>
 
51
          <rule>
 
52
              <treechildren>
 
53
                  <treeitem uri="rdf:*">
 
54
                      <treerow>
 
55
                          <treecell label="rdf:http://home.netscape.com/NC-rdf#Name"/>
 
56
                      </treerow>
 
57
                  </treeitem>
 
58
              </treechildren>
 
59
          </rule>
 
60
      </template>
 
61
  </tree>
 
62
 
 
63
  <separator class="thin"/>
 
64
 
 
65
  <hbox align="center">
 
66
    <label value="&otherCharset.label;" 
 
67
           accesskey="&otherCharset.accesskey;" 
 
68
           control="charset.other"/>
 
69
    <textbox id="charset.other" size="6" flex="1"/>
 
70
  </hbox>
 
71
 
 
72
</dialog>
 
73