source: content/vI_rdfDataEditor_dataExtrasOverlay.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.4 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<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
27
28<!DOCTYPE window [
29<!ENTITY % vIstorageExtrasDTD SYSTEM "chrome://v_identity/locale/vI_storageExtras.dtd" >
30%vIstorageExtrasDTD;
31<!ENTITY % charsetMenuDTD SYSTEM "chrome://global/locale/charsetMenu.dtd" >
32%charsetMenuDTD;
33<!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >
34%messengercomposeDTD;
35]>
36<overlay id="vI_storageExtras"
37          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
38
39<script type="application/x-javascript" src="chrome://global/content/charsetOverlay.js"/>
40    <vbox id="virtualIdentityExtension_rdfDataEditorContent">
41    <groupbox>
42    <caption>
43        <vbox><spacer flex="1"/>
44        <label value="&vI_storageExtras.caption.label;" />
45        <spacer flex="1"/></vbox>
46        <spacer width="10px" />
47        <checkbox id="vI_storageExtras_hideUnusedEditorFields" label="&vI_storageExtrasDataEditorOverlay.hideUnused.label;"
48            oncommand="virtualIdentityExtension.rdfDataEditor.hideUnusedEditorFields();"
49            persist="checked" />
50    </caption>
51        <label id="storeValue" value="&vI_storageExtras.storeValue.label;" />
52    <!-- storageExtras_returnReciept -->
53        <hbox>
54        <checkbox id="vI_storageExtras_returnReciept_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null);" />
55        <checkbox id="vI_storageExtras_returnReciept" label="&vI_storageExtrasDataEditorOverlay.receipt.label;"/>
56        </hbox>
57    <!-- storageExtras_fcc -->
58        <hbox>
59        <checkbox id="vI_storageExtras_fcc_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null);" />
60        <checkbox id="vI_storageExtras_fcc" label="&vI_storageExtrasDataEditorOverlay.fcc.label;"/>
61        </hbox>
62    <!-- storageExtras_characterEncoding -->
63        <hbox>
64        <checkbox id="vI_storageExtras_characterEncoding_store"
65            oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenu');" />
66        <hbox id="vI_storageExtras_characterEncoding">
67        <script>
68            Components.utils.import("resource://gre/modules/CharsetMenu.jsm");
69        </script>
70        <vbox><spacer flex="1"/>
71            <label id="maileditCharsetMenuLabel" value="&charsetMenu.label;"
72                accesskey="&charsetMenu.accesskey;" control="maileditCharsetMenu" />
73        <spacer flex="1"/></vbox>
74        <menulist id="maileditCharsetMenu">
75            <menupopup id="charsetPopup"
76                    onpopupshowing="CharsetMenu.build(this, false, false);"/>
77        </menulist>
78        </hbox>
79        </hbox>
80    <!-- storageExtras_messageFormat -->
81        <hbox>
82        <checkbox id="vI_storageExtras_messageFormat_store"
83            oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'outputFormatMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'outputFormatMenu');" />
84        <hbox id="vI_storageExtras_messageFormat">
85            <vbox><spacer flex="1"/>
86                <label id="outputFormatMenuLabel" value="&deliveryFormatMenu.label;"
87                    accesskey="&deliveryFormatMenu.accesskey;" control="outputFormatMenu" />
88            <spacer flex="1"/></vbox>
89            <menulist id="outputFormatMenu">
90            <menupopup>
91                <menuitem label="&autoFormatCmd.label;" accesskey="&autoFormatCmd.accesskey;" id="format_auto"/>
92                <menuitem label="&plainTextFormatCmd.label;" accesskey="&plainTextFormatCmd.accesskey;" id="format_plain"/>
93                <menuitem label="&htmlFormatCmd.label;" accesskey="&htmlFormatCmd.accesskey;" id="format_html"/>
94                <menuitem label="&bothFormatCmd.label;" accesskey="&bothFormatCmd.accesskey;" id="format_both"/>
95            </menupopup>
96            </menulist>
97        </hbox>
98        </hbox>
99    <!-- storageExtras_sMime_messageEncryption -->
100        <hbox>
101        <checkbox id="vI_storageExtras_sMime_messageEncryption_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
102        <checkbox id="vI_storageExtras_sMime_messageEncryption"
103            label="&vI_storageExtrasDataEditorOverlay.sMimeEnc.label;"/>
104        </hbox>
105    <!-- storageExtras_sMime_messageSignature -->
106        <hbox>
107        <checkbox id="vI_storageExtras_sMime_messageSignature_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
108        <checkbox id="vI_storageExtras_sMime_messageSignature"
109            label="&vI_storageExtrasDataEditorOverlay.sMimeSig.label;"/>
110        </hbox>
111    <!-- storageExtras_openPGP_messageEncryption -->
112        <hbox>
113        <checkbox id="vI_storageExtras_openPGP_messageEncryption_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
114        <checkbox id="vI_storageExtras_openPGP_messageEncryption"
115            label="&vI_storageExtrasDataEditorOverlay.PGPEnc.label;"/>
116        </hbox>
117    <!-- storageExtras_openPGP_messageSignature -->
118        <hbox>
119        <checkbox id="vI_storageExtras_openPGP_messageSignature_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
120        <checkbox id="vI_storageExtras_openPGP_messageSignature"
121            label="&vI_storageExtrasDataEditorOverlay.PGPSig.label;"/>
122        </hbox>
123    <!-- storageExtras_openPGP_PGPMIME -->
124        <hbox>
125        <checkbox id="vI_storageExtras_openPGP_PGPMIME_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" />
126        <checkbox id="vI_storageExtras_openPGP_PGPMIME"
127            label="&vI_storageExtrasDataEditorOverlay.PGPMIME.label;"/>
128        </hbox>
129    </groupbox>
130    </vbox>
131</overlay>
Note: See TracBrowser for help on using the repository browser.