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 | |
---|
28 | <!DOCTYPE overlay [ |
---|
29 | <!ENTITY % versionDTD SYSTEM "chrome://v_identity/content/_version.dtd"> |
---|
30 | %versionDTD; |
---|
31 | <!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd"> |
---|
32 | %vIdentDTD; |
---|
33 | ]> |
---|
34 | |
---|
35 | <overlay id="v_identity" |
---|
36 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
---|
37 | |
---|
38 | <script type="application/x-javascript" src="chrome://v_identity/content/v_identity.js" /> |
---|
39 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_helper.js" /> |
---|
40 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_account.js" /> |
---|
41 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_msgIdentityClone.js" /> |
---|
42 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" /> |
---|
43 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_smtpSelector.js" /> |
---|
44 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_notificationBar.js"/> |
---|
45 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_rdfDatasource.js"/> |
---|
46 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/> |
---|
47 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storageExtras.js"/> |
---|
48 | |
---|
49 | <stringbundleset id="stringbundleset"> |
---|
50 | <stringbundle id="vIdentBundle" src="chrome://v_identity/locale/v_identity.properties" /> |
---|
51 | <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties" /> |
---|
52 | </stringbundleset> |
---|
53 | |
---|
54 | <vbox id="appcontent" > |
---|
55 | <splitter id="vIDebugBoxSplitter" hidden="true"/> |
---|
56 | <textbox id="vIDebugBox" hidden="true" multiline="true" readonly="true" |
---|
57 | DOMAttrModified="if(event.attrName == 'value') this.value = event.newValue; return true;"/> |
---|
58 | </vbox> |
---|
59 | |
---|
60 | <toolbox id="headers-box"> |
---|
61 | <notificationbox id="vINotification" position="1" insertbefore="MsgHeadersToolbar" /> |
---|
62 | </toolbox> |
---|
63 | |
---|
64 | <vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init --> |
---|
65 | |
---|
66 | <hbox id="msgIdentityHbox" flex="1"> |
---|
67 | <menulist id="msgIdentity_clone" class="identity_clone-menulist person-icon" |
---|
68 | label="..." flex="1" oncommand="vI_msgIdentityClone.LoadIdentity();" hidden="true"> |
---|
69 | <menupopup id="msgIdentityPopup_clone"/> |
---|
70 | </menulist> |
---|
71 | <hbox id="smtpServerListHbox" hidden="true"> |
---|
72 | <spacer flex="1" /> |
---|
73 | <menulist id="smtp_server_list" oncommand="vI_smtpSelector.loadSMTP();"> |
---|
74 | <menupopup id="smtp_server_list_popup" /> |
---|
75 | </menulist> |
---|
76 | </hbox> |
---|
77 | <checkbox id="storage_save" label="&vident.composeDialog.storageSave.label;" |
---|
78 | tooltiptext="&vident.composeDialog.storageSave.tooltiptext;" hidden="true" |
---|
79 | oncommand="vI_statusmenu.menuConstraint(this);" > |
---|
80 | <observes element="vI_statusMenu_storage_save" attribute="checked" /> |
---|
81 | </checkbox> |
---|
82 | <box class="base_id_label" observe="msgIdentity_clone" /> |
---|
83 | </hbox> |
---|
84 | |
---|
85 | <!-- Some of "Dynamic part of labels" are placed here.--> |
---|
86 | <!-- (Well, I know that its not a good ideal to put them here. :P) --> |
---|
87 | <data id="prettyName-Prefix" label="&vident.accPane.prettyName.prefix;" /> |
---|
88 | |
---|
89 | </vbox> |
---|
90 | |
---|
91 | <popupset> |
---|
92 | <popup id="vI_statusMenu"> |
---|
93 | <menuitem type="checkbox" id="vI_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;" oncommand="vI_statusmenu.menuConstraint(this);"/> |
---|
94 | <menuitem type="checkbox" id="vI_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;" oncommand="vI_statusmenu.menuConstraint(vI_statusmenu.objStorageSaveMenuItem);"/> |
---|
95 | <menuseparator id="vI_statusMenu_separator" /> |
---|
96 | <menuitem id="vI_settingsMenu" class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;" |
---|
97 | oncommand="window.openDialog('chrome://v_identity/content/vI_prefDialog.xul', '', 'chrome,modal');" /> |
---|
98 | <menuitem id="vI_rdfDataTree" class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;" |
---|
99 | oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome,modal');" /> |
---|
100 | </popup> |
---|
101 | </popupset> |
---|
102 | |
---|
103 | <statusbar id="status-bar"> |
---|
104 | <statusbarpanel class="v_identity_logo" |
---|
105 | id="v_identity_logo" |
---|
106 | insertafter="statusText" |
---|
107 | label="&vident.vidLogo.label; &vident.version;" align="right" hidden="true" /> |
---|
108 | <statusbarpanel id="vI-status-menu" save="off" |
---|
109 | class="statusbarpanel-menu-iconic" |
---|
110 | collapsed="true" |
---|
111 | insertafter="totalMessageCount" |
---|
112 | context="vI_statusMenu" |
---|
113 | tooltip="vI_statusMenuTooltip" |
---|
114 | onclick="vI_statusmenu.clicked(event.button);" /> |
---|
115 | </statusbar> |
---|
116 | |
---|
117 | </overlay> |
---|