source: content/v_identity.xul @ 2a159e

ng_0.9
Last change on this file since 2a159e was 2a159e, checked in by rene <rene@…>, 3 years ago

changed version.dtd position

  • 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) 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 % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd">
31%vIdentDTD;
32]>
33
34<overlay id="virtualIdentityExtension_MsgComposeOverlay"
35          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
36
37 <!-- possible fix for https://www.absorb.it/virtual-id/ticket/400 , not sure why widgetOverlay is not always accessible -->
38<script type="application/javascript" src="chrome://messenger/content/messengercompose/addressingWidgetOverlay.js"/>
39
40<script type="application/x-javascript" src="chrome://v_identity/content/v_identity.js" />
41<script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" />
42<script type="application/x-javascript" src="chrome://v_identity/content/vI_statusmenu.js" />
43<script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/>
44
45<vbox id="appcontent" >
46  <textbox id="virtualIdentityExtension_debugBox" />
47</vbox>
48
49<toolbox id="headers-box">
50    <notificationbox id="virtualIdentityExtension_vINotification" position="1" insertbefore="MsgHeadersToolbar" />
51</toolbox>
52
53<vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init -->
54
55<vbox id="virtualIdentityExtension_autoReplyToSelfLabelBox">
56  <spacer flex="1"/>
57  <label id="virtualIdentityExtension_autoReplyToSelfLabel" context="virtualIdentityExtension_vIAutoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
58  <spacer flex="1"/>
59</vbox>
60<hbox id="virtualIdentityExtension_msgIdentityHbox" flex="1">
61    <menulist id="virtualIdentityExtension_msgIdentityClone" class="identity_clone-menulist" vid="false"
62        label="..." flex="1" oncommand="this.command();">
63        <menupopup id="virtualIdentityExtension_msgIdentityPopupClone"/>
64    </menulist>
65    <checkbox id="virtualIdentityExtension_fccSwitch" label="&vident.composeDialog.fcc_switch.label;"
66        tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false"
67        oncommand="virtualIdentityExtension.vIprefs.set('doFcc', this.checked);" />
68    <popupset id="virtualIdentityExtension_tooltipPopupset" />
69</hbox>
70  </vbox>
71 
72  <popupset>
73      <menupopup id="virtualIdentityExtension_statusMenu">
74          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;"
75            oncommand="virtualIdentityExtension.vIprefs.set('storage_store', (this.getAttribute('checked') == 'true'));"/>
76          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;"
77            oncommand="virtualIdentityExtension.vIprefs.set('storage_store_base_id', (this.getAttribute('checked') == 'true'));"/>
78          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;"
79            oncommand="virtualIdentityExtension.vIprefs.set('storage_store_SMTP', (this.getAttribute('checked') == 'true'));"/>
80          <menuseparator id="virtualIdentityExtension_statusMenu_separator" />
81          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;"
82            oncommand="window.open('chrome://v_identity/content/prefDialog/vI_prefDialog_TB3.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" />
83          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;"
84            oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
85      </menupopup>
86  </popupset>
87  <popupset>
88      <menupopup id="virtualIdentityExtension_vIAutoReplyToSelfMenu">
89          <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;"
90            oncommand="document.getElementById('virtualIdentityExtension_autoReplyToSelfLabel').setAttribute('hidden', 'true');"/>
91        </menupopup>
92  </popupset>
93  <popupset>
94      <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" >
95        <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" />
96        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" />
97        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" />
98        <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" />
99      </tooltip>
100  </popupset>
101
102  <statusbar id="status-bar">
103      <statusbarpanel class="virtualIdentityExtension_Logo"
104              id="virtualIdentityExtension_Logo"
105              insertafter="statusText"
106              align="right"
107              hidden="true">
108        <label class="v_identity_logo v_identity_logo_statusbar" value="&vident.vidLogo.label; &vident.version;" />
109        <observes id="virtualIdentityExtension_msgIdentityClone_observer" element="virtualIdentityExtension_msgIdentityClone" attribute="vid" />
110    </statusbarpanel>
111      <statusbarpanel id="virtualIdentityExtension_vIStatusMenu" save="off"
112              class="statusbarpanel-menu-iconic"
113              collapsed="true"
114              insertafter="totalMessageCount"
115              context="virtualIdentityExtension_statusMenu"
116              tooltip="virtualIdentityExtension_statusMenuTooltip"
117              onclick="virtualIdentityExtension.statusmenu.clicked(event.button);"
118              hidden="true">
119            <image />
120            </statusbarpanel>
121</statusbar>
122 
123</overlay>
Note: See TracBrowser for help on using the repository browser.