Import from 1.9a8 tarball
[mozilla-extra.git] / extensions / help / resources / content / helpSecurityOverlay.xul
blob1c6890d4afb7acc77f8a7a4c17077a5f6d7a04a3
1 <?xml version="1.0"?>
2 <!-- ***** BEGIN LICENSE BLOCK *****
3 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 - The contents of this file are subject to the Mozilla Public License Version
6 - 1.1 (the "License"); you may not use this file except in compliance with
7 - the License. You may obtain a copy of the License at
8 - http://www.mozilla.org/MPL/
10 - Software distributed under the License is distributed on an "AS IS" basis,
11 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 - for the specific language governing rights and limitations under the
13 - License.
15 - The Original Code is SeaMonkey internet suite code.
17 - The Initial Developer of the Original Code is
18 - Mark Banner <bugzilla@standard8.demon.co.uk>
19 - Portions created by the Initial Developer are Copyright (C) 2006
20 - the Initial Developer. All Rights Reserved.
22 - Contributor(s):
24 - Alternatively, the contents of this file may be used under the terms of
25 - either the GNU General Public License Version 2 or later (the "GPL"), or
26 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 - in which case the provisions of the GPL or the LGPL are applicable instead
28 - of those above. If you wish to allow use of your version of this file only
29 - under the terms of either the GPL or the LGPL, and not to allow others to
30 - use your version of this file under the terms of the MPL, indicate your
31 - decision by deleting the provisions above and replace them with the notice
32 - and other provisions required by the LGPL or the GPL. If you do not delete
33 - the provisions above, a recipient may use your version of this file under
34 - the terms of any one of the MPL, the GPL or the LGPL.
36 - ***** END LICENSE BLOCK ***** -->
38 <overlay id="securityManagerOverlay"
39 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
41 <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
42 <script type="application/x-javascript">
43 <![CDATA[
44 function doCertManagerHelpButton()
46 var selTab = document.getElementById('certMgrTabbox').selectedItem;
47 var selTabID = selTab.getAttribute('id');
48 switch (selTabID) {
49 case 'mine_tab':
50 openHelp("my_certs");
51 break;
52 case 'others_tab':
53 openHelp("others_certs");
54 break;
55 case 'websites_tab':
56 openHelp("web_certs");
57 break;
58 case 'ca_tab':
59 openHelp("ca_certs");
60 break;
64 function doDeleteCertificateHelpButton()
66 var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
67 switch (gParams.GetString(0)) {
68 case bundle.GetStringFromName("deleteUserCertFlag"):
69 openHelp("delete_my_certs");
70 break;
71 case bundle.GetStringFromName("deleteSslCertFlag"):
72 openHelp("delete_web_certs");
73 break;
74 case bundle.GetStringFromName("deleteCaCertFlag"):
75 openHelp("delete_ca_certs");
76 break;
77 case bundle.GetStringFromName("deleteEmailCertFlag"):
78 openHelp("delete_email_certs");
79 break;
82 ]]>
83 </script>
85 <dialog id="certmanager"
86 buttons="accept,help"
87 ondialoghelp="return doCertManagerHelpButton();"/>
89 <dialog id="certDetails"
90 buttons="accept,help"
91 ondialoghelp="openHelp('cert_details');"/>
93 <dialog id="set_password"
94 buttons="accept,cancel,help"
95 ondialoghelp="openHelp('change_pwd');"/>
97 <dialog id="devicemanager"
98 buttons="accept,help"
99 ondialoghelp="openHelp('sec_devices');"/>
101 <dialog id="ssl_warning"
102 buttons="accept,cancel,help"
103 ondialoghelp="openHelp('which_token');"/>
105 <dialog id="certAuthAsk"
106 buttons="accept,cancel,help"
107 ondialoghelp="openHelp('which_cert');"/>
109 <dialog id="crlImportSuccess"
110 buttons="accept,cancel,help"
111 ondialoghelp="openHelp('validation-crl-import');"/>
113 <dialog id="deleteCertificate"
114 buttons="accept,cancel,help"
115 ondialoghelp="doDeleteCertificateHelpButton();"/>
117 <dialog id="domainMismatch"
118 spacerflex="1"
119 buttons="accept,cancel,help,extra2"
120 ondialoghelp="openHelp('bad_name_web_cert');"/>
122 <dialog id="editCaCert"
123 buttons="accept,cancel,help"
124 ondialoghelp="openHelp('edit_ca_certs');"/>
126 <dialog id="editEmailCert"
127 buttons="accept,cancel,help"
128 ondialoghelp="openHelp('edit_email_certs');"/>
130 <dialog id="editWebsiteCert"
131 buttons="accept,cancel,help"
132 ondialoghelp="openHelp('edit_web_certs');"/>
134 <dialog id="escrowWarnDialog"
135 spacerflex="1"
136 buttons="accept,cancel,help,extra2"
137 ondialoghelp="openHelp('priv_key_copy');"/>
139 <dialog id="getp12password"
140 buttons="accept,cancel,help"
141 ondialoghelp="openHelp('my_certs');"/>
143 <dialog id="setp12password"
144 buttons="accept,cancel,help"
145 ondialoghelp="openHelp('cert_backup_pwd');"/>
147 <dialog id="newServerDialog"
148 spacerflex="1"
149 buttons="accept,cancel,help,extra2"
150 ondialoghelp="openHelp('new_web_cert');"/>
152 <dialog id="crlUpdatePref"
153 buttons="accept,cancel,help"
154 ondialoghelp="openHelp('validation-crl-auto-update-prefs');"/>
156 <dialog id="serverCertExpired"
157 spacerflex="1"
158 buttons="accept,cancel,help,extra2"
159 ondialoghelp="openHelp('exp_web_cert');"/>
161 <dialog id="serverCrlNextupdate"
162 buttons="accept,help"
163 ondialoghelp="openHelp('exp_crl');"/>
165 <dialog id="crlviewer"
166 buttons="help"
167 ondialoghelp="openHelp('validation-crl-manage');">
168 <hbox id="dialogButtons">
169 <button dlgtype="help"/>
170 </hbox>
171 </dialog>
173 <dialog id="reset_password"
174 buttons="accept,cancel,help"
175 ondialoghelp="openHelp('reset_pwd');"/>
177 <dialog id="download_cert"
178 buttons="accept,cancel,help"
179 ondialoghelp="openHelp('new_ca');"/>
180 </overlay>