blob: ec6495e20b7277ad97061eb94b24233c499ad750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://messenger/skin/smime/msgCompSMIMEOverlay.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://messenger-smime/locale/msgCompSMIMEOverlay.dtd">
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript" src="chrome://messenger-smime/content/msgCompSMIMEOverlay.js"/>
<window id="msgcomposeWindow">
<broadcaster id="securityStatus" crypto="" signing=""/>
<observes element="securityStatus" attribute="crypto" />
<observes element="securityStatus" attribute="signing" />
<stringbundle id="bundle_comp_smime" src="chrome://messenger-smime/locale/msgCompSMIMEOverlay.properties"/>
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
</window>
<menupopup id="optionsMenuPopup"
onpopupshowing="setSecuritySettings(1);">
<menuseparator id="smimeOptionsSeparator"/>
<menuitem id="menu_securityEncryptRequire1"
type="checkbox"
label="&menu_securityEncryptRequire.label;"
accesskey="&menu_securityEncryptRequire.accesskey;"
oncommand="toggleEncryptMessage();"/>
<menuitem id="menu_securitySign1"
type="checkbox"
label="&menu_securitySign.label;"
accesskey="&menu_securitySign.accesskey;"
oncommand="toggleSignMessage();"/>
</menupopup>
<toolbarpalette id="MsgComposeToolbarPalette">
<toolbarbutton id="button-security"
type="menu-button"
class="toolbarbutton-1"
label="&securityButton.label;"
tooltiptext="&securityButton.tooltip;"
oncommand="doSecurityButton();">
<menupopup onpopupshowing="setSecuritySettings(2);">
<menuitem id="menu_securityEncryptRequire2"
type="checkbox"
label="&menu_securityEncryptRequire.label;"
accesskey="&menu_securityEncryptRequire.accesskey;"
oncommand="setNextCommand('encryptMessage');"/>
<menuitem id="menu_securitySign2"
type="checkbox"
label="&menu_securitySign.label;"
accesskey="&menu_securitySign.accesskey;"
oncommand="setNextCommand('signMessage');"/>
<menuseparator id="smimeToolbarButtonSeparator"/>
<menuitem id="menu_securityStatus2"
label="&menu_securityStatus.label;"
accesskey="&menu_securityStatus.accesskey;"
oncommand="setNextCommand('show');"/>
</menupopup>
</toolbarbutton>
</toolbarpalette>
<statusbar id="status-bar">
<statusbarpanel insertbefore="offline-status" class="statusbarpanel-iconic" collapsed="true"
id="signing-status" oncommand="showMessageComposeSecurityStatus();"/>
<statusbarpanel insertbefore="offline-status" class="statusbarpanel-iconic" collapsed="true"
id="encryption-status" oncommand="showMessageComposeSecurityStatus();"/>
</statusbar>
<commandset id="composeCommands">
<command id="cmd_viewSecurityStatus" oncommand="showMessageComposeSecurityStatus();"/>
</commandset>
<menupopup id="menu_View_Popup">
<menuseparator id="viewMenuBeforeSecurityStatusSeparator"/>
<menuitem id="menu_viewSecurityStatus"
label="&menu_viewSecurityStatus.label;"
accesskey="&menu_viewSecurityStatus.accesskey;"
command="cmd_viewSecurityStatus"/>
</menupopup>
</overlay>
|