diff --git a/mozilla/extensions/help/resources/content/contents.rdf b/mozilla/extensions/help/resources/content/contents.rdf index 8f2236773c2..8786cd4bcf4 100644 --- a/mozilla/extensions/help/resources/content/contents.rdf +++ b/mozilla/extensions/help/resources/content/contents.rdf @@ -16,6 +16,28 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -23,4 +45,91 @@ chrome://help/content/helpMenuOverlay.xul + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + + + + chrome://help/content/helpSecurityOverlay.xul + diff --git a/mozilla/extensions/help/resources/content/helpSecurityOverlay.xul b/mozilla/extensions/help/resources/content/helpSecurityOverlay.xul new file mode 100644 index 00000000000..484d40a5a34 --- /dev/null +++ b/mozilla/extensions/help/resources/content/helpSecurityOverlay.xul @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mozilla/extensions/help/resources/jar.mn b/mozilla/extensions/help/resources/jar.mn index 8e92df05bdd..d349e680c0e 100644 --- a/mozilla/extensions/help/resources/jar.mn +++ b/mozilla/extensions/help/resources/jar.mn @@ -1,10 +1,38 @@ help.jar: +#ifdef MOZ_XUL_APP +% content help %content/help/ xpcnativewrappers=yes +% overlay chrome://communicator/content/utilityOverlay.xul chrome://help/content/helpMenuOverlay.xul +% overlay chrome://pippki/content/certManager.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/certViewer.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/changepassword.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/device_manager.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/choosetoken.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/clientauthask.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/crlImportDialog.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/deletecert.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/domainMismatch.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/editcacert.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/editemailcert.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/editsslcert.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/escrowWarn.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/getp12password.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/setp12password.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/newserver.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/pref-crlupdate.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/serverCertExpired.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/serverCrlNextupdate.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/crlManager.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/resetpassword.xul chrome://help/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/downloadcert.xul chrome://help/content/helpSecurityOverlay.xul +#else +* content/help/contents.rdf (content/contents.rdf) +#endif content/help/help.xul (content/help.xul) content/help/contextHelp.js (content/contextHelp.js) content/help/help.js (content/help.js) -* content/help/contents.rdf (content/contents.rdf) * content/help/helpMenuOverlay.xul (content/helpMenuOverlay.xul) content/help/helpContextOverlay.xul (content/helpContextOverlay.xul) + content/help/helpSecurityOverlay.xul (content/helpSecurityOverlay.xul) * content/help/platformClasses.css (content/platformClasses.css) en-US.jar: diff --git a/mozilla/security/manager/pki/resources/Makefile.in b/mozilla/security/manager/pki/resources/Makefile.in index 58f5a5d75c7..46623f07545 100644 --- a/mozilla/security/manager/pki/resources/Makefile.in +++ b/mozilla/security/manager/pki/resources/Makefile.in @@ -43,9 +43,3 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk - -ifdef MOZ_XUL_APP -DEFINES += -DHELP_BUTTON= -else -DEFINES += "-DHELP_BUTTON=,help" -endif diff --git a/mozilla/security/manager/pki/resources/content/certManager.js b/mozilla/security/manager/pki/resources/content/certManager.js index 1fd7af551af..ee9a7f2c68a 100644 --- a/mozilla/security/manager/pki/resources/content/certManager.js +++ b/mozilla/security/manager/pki/resources/content/certManager.js @@ -109,29 +109,6 @@ function LoadCerts() } } -function getSelectedTab() -{ - var selTab = document.getElementById('certMgrTabbox').selectedItem; - var selTabID = selTab.getAttribute('id'); - if (selTabID == 'mine_tab') { - key = "my_certs"; - } else if (selTabID == "others_tab") { - key = "others_certs"; - } else if (selTabID == "websites_tab") { - key = "web_certs"; - } else if (selTabID == "ca_tab") { - key = "ca_certs"; - } - return key; -} - - -function doHelpButton() { - var uri = getSelectedTab(); - openHelp(uri); -} - - function getSelectedCerts() { var ca_tab = document.getElementById("ca_tab"); diff --git a/mozilla/security/manager/pki/resources/content/certManager.xul b/mozilla/security/manager/pki/resources/content/certManager.xul index d8937bc2ca1..836e53445b3 100644 --- a/mozilla/security/manager/pki/resources/content/certManager.xul +++ b/mozilla/security/manager/pki/resources/content/certManager.xul @@ -51,12 +51,10 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="&certmgr.title;" onload="LoadCerts();" -#expand buttons="accept__HELP_BUTTON__" - ondialoghelp="return doHelpButton();" + buttons="accept" style="width: 48em; height: 32em;" persist="screenX screenY width height"> -