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:
oeschger%netscape.com 2002-02-26 01:14:09 +00:00
Родитель c2c399bf8c
Коммит 40049535e5
29 изменённых файлов: 36 добавлений и 38 удалений

Просмотреть файл

@ -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">