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) 2011 |
---|
21 | - the Initial Developer. All Rights Reserved. |
---|
22 | |
---|
23 | - Contributor(s): |
---|
24 | - ***** END LICENSE BLOCK ***** --> |
---|
25 | |
---|
26 | <?xml-stylesheet href="chrome://v_identity/skin/v_identity.css" type="text/css"?> |
---|
27 | <?xml-stylesheet href="chrome://messenger/skin/tabmail.css" type="text/css"?> |
---|
28 | |
---|
29 | <!DOCTYPE overlay [ |
---|
30 | <!ENTITY % versionDTD SYSTEM "chrome://v_identity/content/_version.dtd"> |
---|
31 | %versionDTD; |
---|
32 | <!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd"> |
---|
33 | %vIdentDTD; |
---|
34 | ]> |
---|
35 | |
---|
36 | <overlay id="virtualIdentityExtension_MsgComposeOverlay" |
---|
37 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
---|
38 | |
---|
39 | <script type="application/x-javascript" src="chrome://v_identity/content/v_identity.js" /> |
---|
40 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" /> |
---|
41 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_statusmenu.js" /> |
---|
42 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/> |
---|
43 | |
---|
44 | <vbox id="appcontent" > |
---|
45 | <textbox id="virtualIdentityExtension_debugBox" /> |
---|
46 | </vbox> |
---|
47 | |
---|
48 | <toolbox id="headers-box"> |
---|
49 | <notificationbox id="virtualIdentityExtension_vINotification" position="1" insertbefore="MsgHeadersToolbar" /> |
---|
50 | </toolbox> |
---|
51 | |
---|
52 | <vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init --> |
---|
53 | |
---|
54 | <vbox id="virtualIdentityExtension_autoReplyToSelfLabelBox"> |
---|
55 | <spacer flex="1"/> |
---|
56 | <label id="virtualIdentityExtension_autoReplyToSelfLabel" context="virtualIdentityExtension_vIAutoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" /> |
---|
57 | <spacer flex="1"/> |
---|
58 | </vbox> |
---|
59 | <hbox id="virtualIdentityExtension_msgIdentityHbox" flex="1"> |
---|
60 | <menulist id="virtualIdentityExtension_msgIdentityClone" class="identity_clone-menulist" vid="false" |
---|
61 | label="..." flex="1" oncommand="this.command();"> |
---|
62 | <menupopup id="virtualIdentityExtension_msgIdentityPopupClone"/> |
---|
63 | </menulist> |
---|
64 | <checkbox id="virtualIdentityExtension_fccSwitch" label="&vident.composeDialog.fcc_switch.label;" |
---|
65 | tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false" |
---|
66 | oncommand="virtualIdentityExtension.vIprefs.set('doFcc', this.checked);" /> |
---|
67 | <popupset id="virtualIdentityExtension_tooltipPopupset" /> |
---|
68 | </hbox> |
---|
69 | </vbox> |
---|
70 | |
---|
71 | <popupset> |
---|
72 | <menupopup id="virtualIdentityExtension_statusMenu"> |
---|
73 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;" |
---|
74 | oncommand="virtualIdentityExtension.vIprefs.set('storage_store', (this.getAttribute('checked') == 'true'));"/> |
---|
75 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;" |
---|
76 | oncommand="virtualIdentityExtension.vIprefs.set('storage_store_base_id', (this.getAttribute('checked') == 'true'));"/> |
---|
77 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;" |
---|
78 | oncommand="virtualIdentityExtension.vIprefs.set('storage_store_SMTP', (this.getAttribute('checked') == 'true'));"/> |
---|
79 | <menuseparator id="virtualIdentityExtension_statusMenu_separator" /> |
---|
80 | <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;" |
---|
81 | oncommand="window.open('chrome://v_identity/content/prefDialog/vI_prefDialog_TB3.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" /> |
---|
82 | <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;" |
---|
83 | oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" /> |
---|
84 | </menupopup> |
---|
85 | </popupset> |
---|
86 | <popupset> |
---|
87 | <menupopup id="virtualIdentityExtension_vIAutoReplyToSelfMenu"> |
---|
88 | <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;" |
---|
89 | oncommand="document.getElementById('virtualIdentityExtension_autoReplyToSelfLabel').setAttribute('hidden', 'true');"/> |
---|
90 | </menupopup> |
---|
91 | </popupset> |
---|
92 | <popupset> |
---|
93 | <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" > |
---|
94 | <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" /> |
---|
95 | <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" /> |
---|
96 | <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" /> |
---|
97 | <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" /> |
---|
98 | </tooltip> |
---|
99 | </popupset> |
---|
100 | |
---|
101 | <statusbar id="status-bar"> |
---|
102 | <statusbarpanel class="virtualIdentityExtension_Logo" |
---|
103 | id="virtualIdentityExtension_Logo" |
---|
104 | insertafter="statusText" |
---|
105 | align="right"> |
---|
106 | <label value="&vident.vidLogo.label; &vident.version;" /> |
---|
107 | <observes id="virtualIdentityExtension_msgIdentityClone_observer" element="virtualIdentityExtension_msgIdentityClone" attribute="vid" /> |
---|
108 | </statusbarpanel> |
---|
109 | <statusbarpanel id="virtualIdentityExtension_vIStatusMenu" save="off" |
---|
110 | class="statusbarpanel-menu-iconic" |
---|
111 | collapsed="true" |
---|
112 | insertafter="totalMessageCount" |
---|
113 | context="virtualIdentityExtension_statusMenu" |
---|
114 | tooltip="virtualIdentityExtension_statusMenuTooltip" |
---|
115 | onclick="virtualIdentityExtension.statusmenu.clicked(event.button);" /> |
---|
116 | </statusbar> |
---|
117 | |
---|
118 | </overlay> |
---|