зеркало из https://github.com/mozilla/pjs.git
restore context-sensitive help to ui: new help file to include and updated syntax, bug=124902, a=asa/drivers, sr=alecf, r=andreww, r=ssaux for security ui
This commit is contained in:
Родитель
c2c399bf8c
Коммит
40049535e5
|
@ -31,7 +31,7 @@
|
|||
onload="setWindowName();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/cacertexists.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<vbox flex="1">
|
||||
|
|
|
@ -34,7 +34,6 @@ const nsIPKIParamBlock = Components.interfaces.nsIPKIParamBlock;
|
|||
const nsPKIParamBlock = "@mozilla.org/security/pkiparamblock;1";
|
||||
|
||||
|
||||
var helpURL = "chrome://help/content/help.xul";
|
||||
var key;
|
||||
|
||||
var selected_certs = [];
|
||||
|
@ -106,16 +105,15 @@ function getSelectedTab()
|
|||
var selTab = document.getElementById('certMgrTabbox').selectedItem;
|
||||
var selTabID = selTab.getAttribute('id');
|
||||
if (selTabID == 'mine_tab') {
|
||||
key = "?my_certs";
|
||||
key = "my_certs";
|
||||
} else if (selTabID == "others_tab") {
|
||||
key = "?others_certs";
|
||||
key = "others_certs";
|
||||
} else if (selTabID == "websites_tab") {
|
||||
key = "?web_certs";
|
||||
key = "web_certs";
|
||||
} else if (selTabID == "ca_tab") {
|
||||
key = "?ca_certs";
|
||||
key = "ca_certs";
|
||||
}
|
||||
var context = helpURL + key;
|
||||
return context;
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
title="&certmgr.title;"
|
||||
onload="LoadCerts();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/certManager.js"/>
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/viewCertDetails.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="esc-key" keycode="VK_ESCAPE" oncommand="window.close()"/>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/password.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<vbox style="margin: 5px;" flex="1">
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/choosetoken.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="if (!document.getElementById('ok-button').disabled) doOK();"/>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/clientauthask.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="doOK();"/>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="pippki.js" />
|
||||
<script type="application/x-javascript" src="createCertInfo.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
|
||||
|
||||
<vbox style="margin: 5px; max-width: 50em;">
|
||||
|
||||
|
|
|
@ -103,6 +103,6 @@ function onAccept()
|
|||
|
||||
function doHelpButton()
|
||||
{
|
||||
openHelp('chrome://help/content/help.xul?validation_prefs');
|
||||
openHelp('validation_prefs');
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
ondialogcancel="return onCancel();"
|
||||
ondialoghelp="return doHelpButton();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/crlImportDialog.js" />
|
||||
<script type="application/x-javascript" src="pippki.js" />
|
||||
|
|
|
@ -56,28 +56,28 @@ function setWindowName()
|
|||
title = bundle.GetStringFromName("deleteUserCertTitle");
|
||||
confirm = bundle.GetStringFromName("deleteUserCertConfirm");
|
||||
impact = bundle.GetStringFromName("deleteUserCertImpact");
|
||||
helpUrl = "chrome://help/content/help.xul?delete_my_certs"
|
||||
helpUrl = "delete_my_certs"
|
||||
}
|
||||
else if(typeFlag == bundle.GetStringFromName("deleteSslCertFlag"))
|
||||
{
|
||||
title = bundle.GetStringFromName("deleteSslCertTitle");
|
||||
confirm = bundle.GetStringFromName("deleteSslCertConfirm");
|
||||
impact = bundle.GetStringFromName("deleteSslCertImpact");
|
||||
helpUrl = "chrome://help/content/help.xul?delete_web_certs"
|
||||
helpUrl = "delete_web_certs"
|
||||
}
|
||||
else if(typeFlag == bundle.GetStringFromName("deleteCaCertFlag"))
|
||||
{
|
||||
title = bundle.GetStringFromName("deleteCaCertTitle");
|
||||
confirm = bundle.GetStringFromName("deleteCaCertConfirm");
|
||||
impact = bundle.GetStringFromName("deleteCaCertImpact");
|
||||
helpUrl = "chrome://help/content/help.xul?delete_ca_certs"
|
||||
helpUrl = "delete_ca_certs"
|
||||
}
|
||||
else if(typeFlag == bundle.GetStringFromName("deleteEmailCertFlag"))
|
||||
{
|
||||
title = bundle.GetStringFromName("deleteEmailCertTitle");
|
||||
confirm = bundle.GetStringFromName("deleteEmailCertConfirm");
|
||||
impact = bundle.GetStringFromName("deleteEmailCertImpact");
|
||||
helpUrl = "chrome://help/content/help.xul?delete_email_certs"
|
||||
helpUrl = "delete_email_certs"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
style="width:8ex">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/deletecert.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="pippki.js" />
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/device_manager.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<grid flex="1">
|
||||
<columns>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/domainMismatch.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<keyset id="keys">
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/downloadcert.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<vbox style="margin: 5px;" flex="1">
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/editcerts.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<vbox flex="1">
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/editcerts.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<vbox flex="1">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/escrowWarn.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="doOK();"/>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
onload="onP12Load();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/password.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="getPassword();"/>
|
||||
|
|
|
@ -64,7 +64,7 @@ function onLoad()
|
|||
|
||||
function doHelpButton()
|
||||
{
|
||||
openHelp('chrome://help/content/help.xul?new_web_cert');
|
||||
openHelp('new_web_cert');
|
||||
}
|
||||
|
||||
function doOK()
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/newserver.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<vbox flex="1">
|
||||
<hbox valign="top" align="center">
|
||||
|
|
|
@ -199,7 +199,7 @@ function onCancel()
|
|||
|
||||
function doHelpButton()
|
||||
{
|
||||
openHelp('chrome://help/content/help.xul?validation_prefs');
|
||||
openHelp('validation_prefs');
|
||||
}
|
||||
|
||||
function onAccept()
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
ondialogcancel="return onCancel();"
|
||||
ondialoghelp="return doHelpButton();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pref-crlupdate.js" />
|
||||
|
|
|
@ -85,5 +85,5 @@ function resetPassword()
|
|||
|
||||
function doHelpButton()
|
||||
{
|
||||
openHelp('chrome://help/content/help.xul?reset_pwd');
|
||||
openHelp('reset_pwd');
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/resetpassword.js"/>
|
||||
|
||||
<hbox flex="1">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js"/>
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/serverCertExpired.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="doOK()" />
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/serverCrlExpired.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="doOK()" />
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/strres.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/pippki.js" />
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/serverCrlNextupdate.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js" />
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js" />
|
||||
|
||||
<keyset id="keys">
|
||||
<key id="enter-key" keycode="VK_ENTER" oncommand="doOK()" />
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
onload="onP12Load();">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://pippki/content/password.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
|
||||
<vbox style="margin: 5px;" flex="1">
|
||||
|
|
Загрузка…
Ссылка в новой задаче