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 | <?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="v_identity" |
---|
37 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
---|
38 | <script type="application/x-javascript" src="chrome://v_identity/content/_overlayNameSpaceWrapper.js" /> |
---|
39 | |
---|
40 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_helper.js" /> |
---|
41 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_account.js" /> |
---|
42 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_smartIdentityCollection.js" /> |
---|
43 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_rdfDatasource.js"/> |
---|
44 | |
---|
45 | <script type="application/x-javascript" src="chrome://v_identity/content/v_identity.js" /> |
---|
46 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_identityData.js" /> |
---|
47 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_msgIdentityCloneTools.js" /> |
---|
48 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" /> |
---|
49 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_statusmenu.js" /> |
---|
50 | <script type="application/x-javascript" src="chrome://v_identity/content/notificationbar/vI_notificationBar.js"/> |
---|
51 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/> |
---|
52 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storageExtras.js"/> |
---|
53 | |
---|
54 | <stringbundleset id="stringbundleset"> |
---|
55 | <stringbundle id="vIdentBundle" src="chrome://v_identity/locale/v_identity.properties" /> |
---|
56 | <stringbundle id="vIStorageExtrasBundle" src="chrome://v_identity/locale/vI_storageExtras.properties" /> |
---|
57 | </stringbundleset> |
---|
58 | |
---|
59 | <vbox id="appcontent" > |
---|
60 | <splitter id="vIDebugBoxSplitter" hidden="true"/> |
---|
61 | <textbox id="vIDebugBox" hidden="true" multiline="true" readonly="true" |
---|
62 | DOMAttrModified="if(event.attrName == 'value') this.value = event.newValue; return true;"/> |
---|
63 | </vbox> |
---|
64 | |
---|
65 | <toolbox id="headers-box"> |
---|
66 | <notificationbox id="vINotification" position="1" insertbefore="MsgHeadersToolbar" /> |
---|
67 | </toolbox> |
---|
68 | |
---|
69 | <vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init --> |
---|
70 | |
---|
71 | <label id="autoReplyToSelfLabel" context="vI_autoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" /> |
---|
72 | |
---|
73 | <hbox id="msgIdentityHbox" flex="1"> |
---|
74 | <menulist id="msgIdentity_clone" class="identity_clone-menulist" vid="false" |
---|
75 | label="..." flex="1" oncommand="this.command();"> |
---|
76 | <menupopup id="msgIdentityPopup_clone"/> |
---|
77 | </menulist> |
---|
78 | <checkbox id="fcc_switch" label="&vident.composeDialog.fcc_switch.label;" |
---|
79 | tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false" |
---|
80 | oncommand="if (this.doFcc == this.checked) this.checked = !(this.checked); this.doFcc = this.checked;" /> |
---|
81 | <popupset id="virtualIdentityExtension_tooltipPopupset" /> |
---|
82 | </hbox> |
---|
83 | </vbox> |
---|
84 | |
---|
85 | <popupset> |
---|
86 | <menupopup id="virtualIdentityExtension_statusMenu"> |
---|
87 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;" |
---|
88 | oncommand="virtualIdentityExtension.statusmenu.menuConstraint(this);"/> |
---|
89 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;" |
---|
90 | oncommand="virtualIdentityExtension.statusmenu.menuConstraint(virtualIdentityExtension.statusmenu.objStorageSaveMenuItem);"/> |
---|
91 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;" |
---|
92 | oncommand="virtualIdentityExtension.statusmenu.menuConstraint(virtualIdentityExtension.statusmenu.objStorageSaveMenuItem);"/> |
---|
93 | <menuseparator id="virtualIdentityExtension_statusMenu_separator" /> |
---|
94 | <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;" |
---|
95 | oncommand="window.open('chrome://v_identity/content/prefDialog/vI_prefDialog_TB3.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" /> |
---|
96 | <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;" |
---|
97 | oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" /> |
---|
98 | </menupopup> |
---|
99 | </popupset> |
---|
100 | <popupset> |
---|
101 | <menupopup id="vI_autoReplyToSelfMenu"> |
---|
102 | <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;" |
---|
103 | oncommand="document.getElementById('autoReplyToSelfLabel').setAttribute('hidden', 'true');"/> |
---|
104 | </menupopup> |
---|
105 | </popupset> |
---|
106 | <popupset> |
---|
107 | <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" > |
---|
108 | <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" /> |
---|
109 | <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" /> |
---|
110 | <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" /> |
---|
111 | <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" /> |
---|
112 | </tooltip> |
---|
113 | </popupset> |
---|
114 | |
---|
115 | <statusbar id="status-bar"> |
---|
116 | <statusbarpanel class="v_identity_logo" |
---|
117 | id="v_identity_logo" |
---|
118 | insertafter="statusText" |
---|
119 | align="right"> |
---|
120 | <label value="&vident.vidLogo.label; &vident.version;" /> |
---|
121 | <observes id="msgIdentity_clone_observer" element="msgIdentity_clone" attribute="vid" /> |
---|
122 | </statusbarpanel> |
---|
123 | <statusbarpanel id="vI-status-menu" save="off" |
---|
124 | class="statusbarpanel-menu-iconic" |
---|
125 | collapsed="true" |
---|
126 | insertafter="totalMessageCount" |
---|
127 | context="virtualIdentityExtension_statusMenu" |
---|
128 | tooltip="virtualIdentityExtension_statusMenuTooltip" |
---|
129 | onclick="virtualIdentityExtension.statusmenu.clicked(event.button);" /> |
---|
130 | </statusbar> |
---|
131 | |
---|
132 | </overlay> |
---|