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_characterEncoding --> |
---|
58 | <hbox> |
---|
59 | <checkbox id="vI_storageExtras_characterEncoding_store" |
---|
60 | oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'maileditCharsetMenu');" /> |
---|
61 | <hbox id="vI_storageExtras_characterEncoding"> |
---|
62 | <script> |
---|
63 | Components.utils.import("resource://gre/modules/CharsetMenu.jsm"); |
---|
64 | </script> |
---|
65 | <vbox><spacer flex="1"/> |
---|
66 | <label id="maileditCharsetMenuLabel" value="&charsetMenu2.label;" |
---|
67 | accesskey="&charsetMenu2.accesskey;" control="maileditCharsetMenu" /> |
---|
68 | <spacer flex="1"/></vbox> |
---|
69 | <menulist id="maileditCharsetMenu"> |
---|
70 | <menupopup id="charsetPopup" |
---|
71 | onpopupshowing="CharsetMenu.build(this, true, false);"/> |
---|
72 | </menulist> |
---|
73 | </hbox> |
---|
74 | </hbox> |
---|
75 | <!-- storageExtras_messageFormat --> |
---|
76 | <hbox> |
---|
77 | <checkbox id="vI_storageExtras_messageFormat_store" |
---|
78 | oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'outputFormatMenuLabel');virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, 'outputFormatMenu');" /> |
---|
79 | <hbox id="vI_storageExtras_messageFormat"> |
---|
80 | <vbox><spacer flex="1"/> |
---|
81 | <label id="outputFormatMenuLabel" value="&deliveryFormatMenu.label;" |
---|
82 | accesskey="&deliveryFormatMenu.accesskey;" control="outputFormatMenu" /> |
---|
83 | <spacer flex="1"/></vbox> |
---|
84 | <menulist id="outputFormatMenu"> |
---|
85 | <menupopup> |
---|
86 | <menuitem label="&autoFormatCmd.label;" accesskey="&autoFormatCmd.accesskey;" id="format_auto"/> |
---|
87 | <menuitem label="&plainTextFormatCmd.label;" accesskey="&plainTextFormatCmd.accesskey;" id="format_plain"/> |
---|
88 | <menuitem label="&htmlFormatCmd.label;" accesskey="&htmlFormatCmd.accesskey;" id="format_html"/> |
---|
89 | <menuitem label="&bothFormatCmd.label;" accesskey="&bothFormatCmd.accesskey;" id="format_both"/> |
---|
90 | </menupopup> |
---|
91 | </menulist> |
---|
92 | </hbox> |
---|
93 | </hbox> |
---|
94 | <!-- storageExtras_sMime_messageEncryption --> |
---|
95 | <hbox> |
---|
96 | <checkbox id="vI_storageExtras_sMime_messageEncryption_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" /> |
---|
97 | <checkbox id="vI_storageExtras_sMime_messageEncryption" |
---|
98 | label="&vI_storageExtrasDataEditorOverlay.sMimeEnc.label;"/> |
---|
99 | </hbox> |
---|
100 | <!-- storageExtras_sMime_messageSignature --> |
---|
101 | <hbox> |
---|
102 | <checkbox id="vI_storageExtras_sMime_messageSignature_store" oncommand="virtualIdentityExtension.rdfDataEditor.identityExtras_adapt(this.id, null)" /> |
---|
103 | <checkbox id="vI_storageExtras_sMime_messageSignature" |
---|
104 | label="&vI_storageExtrasDataEditorOverlay.sMimeSig.label;"/> |
---|
105 | </hbox> |
---|
106 | </groupbox> |
---|
107 | </vbox> |
---|
108 | </overlay> |
---|