source: content/vI_rdfDataEditor_dataExtrasOverlay_legacy.xul @ 998c9e

ng_0.9
Last change on this file since 998c9e was 998c9e, checked in by rene <rene@…>, 7 years ago

added compatibility changes for new charEncoding Menu

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0"?>
2<!-- ***** BEGIN LICENSE BLOCK *****
3   - This program is free software; you can redistribute it and/or modify
4   - it under the terms of the GNU General Public License as published by
5   - the Free Software Foundation; either version 2 of the License, or
6   - (at your option) any later version.
7
8   - This program is distributed in the hope that it will be useful,
9   - but WITHOUT ANY WARRANTY; without even the implied warranty of
10   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   - GNU General Public License for more details.
12
13   - You should have received a copy of the GNU General Public License
14   - along with this program; if not, write to the Free Software
15   - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
17   - The Original Code is the Virtual Identity Extension.
18
19   - The Initial Developer of the Original Code is Rene Ejury.
20   - Portions created by the Initial Developer are Copyright (C) 2007
21   - the Initial Developer. All Rights Reserved.
22
23   - Contributor(s):
24   - ***** END LICENSE BLOCK ***** -->
25
26<!DOCTYPE window [
27<!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >
28%messengercomposeDTD;
29<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charsetOverlay.dtd" >
30%charsetDTD;
31<!ENTITY % vIstorageExtrasDTD SYSTEM "chrome://v_identity/locale/vI_storageExtras.dtd" >
32%vIstorageExtrasDTD;
33]>
34
35<overlay id="vI_storageExtras"
36          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
37
38<script type="application/x-javascript" src="chrome://global/content/charsetOverlay.js"/>
39    <vbox id="virtualIdentityExtension_rdfDataEditorContent">
40    <groupbox>
41    <caption>
42        <vbox><spacer flex="1"/>
43        <label value="&vI_storageExtras.caption.label;" />
44        <spacer flex="1"/></vbox>
45        <spacer width="10px" />
46        <checkbox id="vI_storageExtras_hideUnusedEditorFields" label="&vI_storageExtrasDataEditorOverlay.hideUnused.label;"
47            oncommand="virtualIdentityExtension.rdfDataEditor.hideUnusedEditorFields();"
48            persist="checked" />
49    </caption>
50        <label id="storeValue" value="&vI_storageExtras.storeValue.label;" />
51    <!-- storageExtras_returnReciept -->
52        <hbox>
53        <checkbox id="vI_storageExtras_returnReciept_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null);" />
54        <checkbox id="vI_storageExtras_returnReciept" label="&vI_storageExtrasDataEditorOverlay.receipt.label;"/>
55        </hbox>
56    <!-- storageExtras_fcc -->
57        <hbox>
58        <checkbox id="vI_storageExtras_fcc_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null);" />
59        <checkbox id="vI_storageExtras_fcc" label="&vI_storageExtrasDataEditorOverlay.fcc.label;"/>
60        </hbox>
61    <!-- storageExtras_characterEncoding -->
62        <hbox>
63        <checkbox id="vI_storageExtras_characterEncoding_store"
64            oncommand="dump('charEnc store oncommand'); virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenu');" />
65        <hbox id="vI_storageExtras_characterEncoding">
66            <vbox><spacer flex="1"/>
67                <label id="maileditCharsetMenuLabel" value="&charsetMenu.label;"
68                    accesskey="&charsetMenu.accesskey;" control="maileditCharsetMenu" />
69            <spacer flex="1"/></vbox>
70            <menulist id="maileditCharsetMenu"
71                datasources="rdf:charset-menu" ref="NC:MaileditCharsetMenuRoot" >
72            <template>
73                <rule>
74                <menupopup>
75                    <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
76                </menupopup>
77                </rule>
78            </template>
79            <menupopup>
80                <menuitem name="charsetCustomize" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome, dialog, modal, alwaysRaised, resizable=yes', 'mailedit')"/>
81                <menuseparator />
82            </menupopup>
83            </menulist>
84        </hbox>
85        </hbox>
86    <!-- storageExtras_messageFormat -->
87        <hbox>
88        <checkbox id="vI_storageExtras_messageFormat_store"
89            oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'outputFormatMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'outputFormatMenu');" />
90        <hbox id="vI_storageExtras_messageFormat">
91            <vbox><spacer flex="1"/>
92                <label id="outputFormatMenuLabel" value="&deliveryFormatMenu.label;"
93                    accesskey="&deliveryFormatMenu.accesskey;" control="outputFormatMenu" />
94            <spacer flex="1"/></vbox>
95            <menulist id="outputFormatMenu">
96            <menupopup>
97                <menuitem label="&autoFormatCmd.label;" accesskey="&autoFormatCmd.accesskey;" id="format_auto"/>
98                <menuitem label="&plainTextFormatCmd.label;" accesskey="&plainTextFormatCmd.accesskey;" id="format_plain"/>
99                <menuitem label="&htmlFormatCmd.label;" accesskey="&htmlFormatCmd.accesskey;" id="format_html"/>
100                <menuitem label="&bothFormatCmd.label;" accesskey="&bothFormatCmd.accesskey;" id="format_both"/>
101            </menupopup>
102            </menulist>
103        </hbox>
104        </hbox>
105    <!-- storageExtras_sMime_messageEncryption -->
106        <hbox>
107        <checkbox id="vI_storageExtras_sMime_messageEncryption_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
108        <checkbox id="vI_storageExtras_sMime_messageEncryption"
109            label="&vI_storageExtrasDataEditorOverlay.sMimeEnc.label;"/>
110        </hbox>
111    <!-- storageExtras_sMime_messageSignature -->
112        <hbox>
113        <checkbox id="vI_storageExtras_sMime_messageSignature_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
114        <checkbox id="vI_storageExtras_sMime_messageSignature"
115            label="&vI_storageExtrasDataEditorOverlay.sMimeSig.label;"/>
116        </hbox>
117    <!-- storageExtras_openPGP_messageEncryption -->
118        <hbox>
119        <checkbox id="vI_storageExtras_openPGP_messageEncryption_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
120        <checkbox id="vI_storageExtras_openPGP_messageEncryption"
121            label="&vI_storageExtrasDataEditorOverlay.PGPEnc.label;"/>
122        </hbox>
123    <!-- storageExtras_openPGP_messageSignature -->
124        <hbox>
125        <checkbox id="vI_storageExtras_openPGP_messageSignature_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
126        <checkbox id="vI_storageExtras_openPGP_messageSignature"
127            label="&vI_storageExtrasDataEditorOverlay.PGPSig.label;"/>
128        </hbox>
129    <!-- storageExtras_openPGP_PGPMIME -->
130        <hbox>
131        <checkbox id="vI_storageExtras_openPGP_PGPMIME_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
132        <checkbox id="vI_storageExtras_openPGP_PGPMIME"
133            label="&vI_storageExtrasDataEditorOverlay.PGPMIME.label;"/>
134        </hbox>
135    </groupbox>
136    </vbox>
137</overlay>
Note: See TracBrowser for help on using the repository browser.