From 1156799ad44d3aedc541ecbae778bc4e8137b8c6 Mon Sep 17 00:00:00 2001
From: "kaie%netscape.com"
Date: Fri, 10 Aug 2001 13:40:32 +0000
Subject: [PATCH] Checking in for Stephen Walker (walk84@yahoo.com) PSM XUL
cleanup. Bug #88328 r=javi@netscape.com sr=hewitt@netscape.com
---
.../pki/resources/content/CAOverlay.xul | 16 ++---
.../pki/resources/content/MineOverlay.xul | 30 ++++----
.../pki/resources/content/PageInfoOverlay.xul | 24 +++----
.../pki/resources/content/PrefOverlay.xul | 16 ++---
.../pki/resources/content/WebSitesOverlay.xul | 16 ++---
.../pki/resources/content/cacertexists.xul | 17 ++---
.../pki/resources/content/certDump.xul | 14 ++--
.../pki/resources/content/certManager.xul | 20 +++---
.../pki/resources/content/certViewer.xul | 36 +++++-----
.../pki/resources/content/changepassword.xul | 44 +++++-------
.../pki/resources/content/choosetoken.xul | 22 +++---
.../pki/resources/content/clientauthask.xul | 26 ++++---
.../pki/resources/content/crlManager.xul | 28 +++-----
.../pki/resources/content/deletecert.xul | 19 +++--
.../pki/resources/content/device_manager.xul | 31 ++++----
.../pki/resources/content/domainMismatch.xul | 25 ++++---
.../pki/resources/content/downloadcert.xul | 43 ++++++------
.../pki/resources/content/editcacert.xul | 23 +++---
.../pki/resources/content/editsslcert.xul | 23 +++---
.../pki/resources/content/escrowWarn.xul | 26 ++++---
.../pki/resources/content/getp12password.xul | 25 +++----
.../pki/resources/content/getpassword.xul | 29 ++++----
.../pki/resources/content/load_device.xul | 14 ++--
.../pki/resources/content/newserver.xul | 10 +--
.../pki/resources/content/pref-certs.xul | 30 ++++----
.../pki/resources/content/pref-ciphers.xul | 43 ++++++------
.../pki/resources/content/pref-masterpass.xul | 32 ++++-----
.../pki/resources/content/pref-ssl.xul | 16 ++---
.../pki/resources/content/pref-validation.xul | 24 +++----
.../resources/content/serverCertExpired.xul | 24 +++----
.../pki/resources/content/setp12password.xul | 29 ++++----
.../pki/resources/content/viewCertDetails.xul | 70 +++++++++----------
32 files changed, 394 insertions(+), 451 deletions(-)
diff --git a/security/manager/pki/resources/content/CAOverlay.xul b/security/manager/pki/resources/content/CAOverlay.xul
index fbdf847c828..5e9a5cf3bdd 100644
--- a/security/manager/pki/resources/content/CAOverlay.xul
+++ b/security/manager/pki/resources/content/CAOverlay.xul
@@ -49,19 +49,19 @@
+ label="&certmgr.view.label;"
+ disabled="true" oncommand="viewCerts();"/>
+ label="&certmgr.edit.label;"
+ disabled="true" oncommand="editCerts();"/>
+ label="&certmgr.delete.label;"
+ disabled="true" oncommand="deleteCerts();"/>
diff --git a/security/manager/pki/resources/content/MineOverlay.xul b/security/manager/pki/resources/content/MineOverlay.xul
index e7f7cbf0ddd..084f66da086 100644
--- a/security/manager/pki/resources/content/MineOverlay.xul
+++ b/security/manager/pki/resources/content/MineOverlay.xul
@@ -64,21 +64,21 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/security/manager/pki/resources/content/PageInfoOverlay.xul b/security/manager/pki/resources/content/PageInfoOverlay.xul
index 5aa2866d63b..fa3c876deaa 100644
--- a/security/manager/pki/resources/content/PageInfoOverlay.xul
+++ b/security/manager/pki/resources/content/PageInfoOverlay.xul
@@ -27,8 +27,8 @@
-
-
+
+
-
+
-
-
+
+
-
+ oncommand="security.viewCert();"/>
+
-
-
-
-
-
+
+
+
+
+
diff --git a/security/manager/pki/resources/content/PrefOverlay.xul b/security/manager/pki/resources/content/PrefOverlay.xul
index 8df7e32c7d9..00c4d5093fb 100644
--- a/security/manager/pki/resources/content/PrefOverlay.xul
+++ b/security/manager/pki/resources/content/PrefOverlay.xul
@@ -29,28 +29,28 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
+
+ label="&masterpass.label;"/>
-
+
+ label="&ssl.label;"/>
-
+
+ label="&certs.label;"/>
-
+
+ label="&validation.label;"/>
diff --git a/security/manager/pki/resources/content/WebSitesOverlay.xul b/security/manager/pki/resources/content/WebSitesOverlay.xul
index 92900afe3df..1aa1efbd904 100644
--- a/security/manager/pki/resources/content/WebSitesOverlay.xul
+++ b/security/manager/pki/resources/content/WebSitesOverlay.xul
@@ -49,19 +49,19 @@
+ label="&certmgr.view.label;"
+ disabled="true" oncommand="viewCerts();"/>
+ label="&certmgr.edit.label;"
+ disabled="true" oncommand="editCerts();"/>
+ label="&certmgr.delete.label;"
+ disabled="true" oncommand="deleteCerts();"/>
diff --git a/security/manager/pki/resources/content/cacertexists.xul b/security/manager/pki/resources/content/cacertexists.xul
index b435dc3105e..0b620dc2b81 100644
--- a/security/manager/pki/resources/content/cacertexists.xul
+++ b/security/manager/pki/resources/content/cacertexists.xul
@@ -25,30 +25,27 @@
-
+ onload="setWindowName();">
-
-
+
+
&caCertExists.message;
-
+
+ oncommand="doOK();"/>
-
+
diff --git a/security/manager/pki/resources/content/certDump.xul b/security/manager/pki/resources/content/certDump.xul
index 805d31836a1..db88432143f 100644
--- a/security/manager/pki/resources/content/certDump.xul
+++ b/security/manager/pki/resources/content/certDump.xul
@@ -32,21 +32,21 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-
+
-
-
+ ignoreincolumnpicker="true" class="header outlinercol-header" primary="true"/>
+
+
-
+
+ readonly="true" style="font-family: -moz-fixed;"/>
diff --git a/security/manager/pki/resources/content/certManager.xul b/security/manager/pki/resources/content/certManager.xul
index d2f314fa64d..b4e6e55579a 100644
--- a/security/manager/pki/resources/content/certManager.xul
+++ b/security/manager/pki/resources/content/certManager.xul
@@ -25,9 +25,9 @@
-
+
@@ -39,9 +39,9 @@
title="&certmgr.title;"
onload="LoadCerts();">
-
-
-
+
+
+
@@ -51,11 +51,11 @@
-
+
-
+
@@ -72,8 +72,8 @@
+ accesskey="h"
+ oncommand="doHelpButton();"/>
diff --git a/security/manager/pki/resources/content/certViewer.xul b/security/manager/pki/resources/content/certViewer.xul
index 4984c6ecb86..680933dd98e 100644
--- a/security/manager/pki/resources/content/certViewer.xul
+++ b/security/manager/pki/resources/content/certViewer.xul
@@ -27,23 +27,20 @@
-
-
+
+
-
+ onload="setWindowName();">
-
-
-
-
+
+
+
+
@@ -51,12 +48,12 @@
-
+
-
-
+
+
@@ -65,19 +62,18 @@
-
+
+ accesskey="h"
+ oncommand="openHelp('chrome://help/content/help.xul?cert_details');"/>
+ accesskey="c"
+ oncommand="window.close();"/>
diff --git a/security/manager/pki/resources/content/changepassword.xul b/security/manager/pki/resources/content/changepassword.xul
index 9eb35bcf481..b2542ecc6b3 100644
--- a/security/manager/pki/resources/content/changepassword.xul
+++ b/security/manager/pki/resources/content/changepassword.xul
@@ -26,17 +26,14 @@
-
+ onload="onLoad();">
-
-
-
+
+
+
@@ -55,26 +52,26 @@
-->
-
+
-
-
+
+
-
+
-
+
-
+
@@ -83,17 +80,12 @@
-
+
-
+
@@ -103,11 +95,11 @@
+ oncommand="setPassword();" disabled="true" default="true"/>
+ oncommand="window.close();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?change_pwd');"/>
diff --git a/security/manager/pki/resources/content/choosetoken.xul b/security/manager/pki/resources/content/choosetoken.xul
index b73ed7b6275..653544ce0a6 100644
--- a/security/manager/pki/resources/content/choosetoken.xul
+++ b/security/manager/pki/resources/content/choosetoken.xul
@@ -29,19 +29,17 @@
]>
-
-
-
-
-
+ onload="onLoad();">
+
+
+
+
+
@@ -59,11 +57,11 @@
+ oncommand="doOK();" disabled="false"/>
+ oncommand="doCancel();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?which_token');"/>
diff --git a/security/manager/pki/resources/content/clientauthask.xul b/security/manager/pki/resources/content/clientauthask.xul
index 79bb0219667..14cb12c4028 100644
--- a/security/manager/pki/resources/content/clientauthask.xul
+++ b/security/manager/pki/resources/content/clientauthask.xul
@@ -23,18 +23,16 @@
]>
-
-
-
-
+ onload="onLoad();">
+
+
+
+
@@ -45,9 +43,9 @@
&clientAuthAsk.message1;
-
-
-
+
+
+
&clientAuthAsk.message2;
@@ -55,12 +53,12 @@
-
+
+ oncommand="doOK();" disabled="false"/>
+ oncommand="doCancel();"/>
diff --git a/security/manager/pki/resources/content/crlManager.xul b/security/manager/pki/resources/content/crlManager.xul
index 26637c4bf10..e133f0b8891 100644
--- a/security/manager/pki/resources/content/crlManager.xul
+++ b/security/manager/pki/resources/content/crlManager.xul
@@ -43,13 +43,13 @@
orient="vertical"
onload="onLoad();">
-
-
+
+
+ multiple="false" oncommand="EnableCrlActions()" flex="1">
@@ -62,27 +62,21 @@
+ label="&certmgr.certdetail.o;"/>
-
-
+ label="&certmgr.certdetail.ou;"/>
+
+
+ label="&validation.deletecrl.label;"
+ oncommand="DeleteCrlSelected();"/>
diff --git a/security/manager/pki/resources/content/deletecert.xul b/security/manager/pki/resources/content/deletecert.xul
index a864c9f6504..e67e6291de6 100644
--- a/security/manager/pki/resources/content/deletecert.xul
+++ b/security/manager/pki/resources/content/deletecert.xul
@@ -25,18 +25,15 @@
-
+ persist="height width screenX screenY">
-
-
+
+
@@ -48,14 +45,14 @@
&certmgr.deletecert.beforename;
&certmgr.deletecert.aftername;
-
+
+ oncommand="doOK();"/>
+ oncommand="window.close();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?delete_my_certs');"/>
diff --git a/security/manager/pki/resources/content/device_manager.xul b/security/manager/pki/resources/content/device_manager.xul
index 58ecefd0965..2854f667cd3 100644
--- a/security/manager/pki/resources/content/device_manager.xul
+++ b/security/manager/pki/resources/content/device_manager.xul
@@ -31,16 +31,15 @@
%pippkiDTD;
]>
-
-
-
-
+
+
+
@@ -52,7 +51,7 @@
@@ -68,7 +67,7 @@
-
@@ -88,32 +87,32 @@
+ oncommand="doLogin();" disabled="true"/>
+ oncommand="doLogout();" disabled="true"/>
+ oncommand="changePassword();" disabled="true"/>
+ oncommand="doLoad();" disabled="false"/>
-
+ oncommand="doUnload();" disabled="true"/>
+
+ class="normal"
+ oncommand="openHelp('chrome://help/content/help.xul?sec_devices');"/>
+ class="normal"
+ oncommand="window.close();"/>
diff --git a/security/manager/pki/resources/content/domainMismatch.xul b/security/manager/pki/resources/content/domainMismatch.xul
index fc28e9b0729..090d292983c 100644
--- a/security/manager/pki/resources/content/domainMismatch.xul
+++ b/security/manager/pki/resources/content/domainMismatch.xul
@@ -20,18 +20,17 @@
-
-
-
-
-
+ onload="onLoad();">
+
+
+
+
+
@@ -42,13 +41,13 @@
-
+
+ oncommand="viewCert();"/>
@@ -60,11 +59,11 @@
+ oncommand="doOK();" disabled="false"/>
+ oncommand="doCancel();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?bad_name_web_cert');"/>
diff --git a/security/manager/pki/resources/content/downloadcert.xul b/security/manager/pki/resources/content/downloadcert.xul
index a348aa9c698..3cc58246946 100644
--- a/security/manager/pki/resources/content/downloadcert.xul
+++ b/security/manager/pki/resources/content/downloadcert.xul
@@ -25,20 +25,17 @@
-
+ onload="onLoad();">
-
-
-
-
+
+
+
+
@@ -48,7 +45,7 @@
&downloadCert.message1;
-
+
&downloadCert.message3;
-
+
-
-
+
+
+ oncommand="viewCert();"/>
&downloadCert.viewCert.text;
+ oncommand="viewPolicy();"/>
&downloadCert.viewPolicy.text;
-
+
+ oncommand="doOK();"/>
+ oncommand="doCancel();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?new_ca');"/>
diff --git a/security/manager/pki/resources/content/editcacert.xul b/security/manager/pki/resources/content/editcacert.xul
index d444b550ade..4f002035271 100644
--- a/security/manager/pki/resources/content/editcacert.xul
+++ b/security/manager/pki/resources/content/editcacert.xul
@@ -31,13 +31,12 @@
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="setWindowName();"
- persist="height width screenX screenY"
- debug="false">
+ persist="height width screenX screenY">
-
-
-
-
+
+
+
+
@@ -46,11 +45,11 @@
&certmgr.editcert.edittrust;
+ id="trustSSL"/>
+ id="trustEmail"/>
+ id="trustObjSign"/>
@@ -61,11 +60,11 @@
+ oncommand="doOK();"/>
+ oncommand="window.close();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?edit_ca_certs');"/>
diff --git a/security/manager/pki/resources/content/editsslcert.xul b/security/manager/pki/resources/content/editsslcert.xul
index 85131ff87b2..0c8cc30ccfb 100644
--- a/security/manager/pki/resources/content/editsslcert.xul
+++ b/security/manager/pki/resources/content/editsslcert.xul
@@ -30,35 +30,34 @@
title="&certmgr.editcert.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="doLoadForSSLCert();"
- persist="height width screenX screenY"
- debug="false">
+ persist="height width screenX screenY">
-
-
-
-
+
+
+
+
-
+
&certmgr.editsslcert.edittrust;
+ id="trustSSLCert" group="sslTrustGroup"/>
+ id="dontTrustSSLCert" group="sslTrustGroup"/>
+ oncommand="doSSLOK();"/>
+ oncommand="window.close();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?edit_web_certs');"/>
diff --git a/security/manager/pki/resources/content/escrowWarn.xul b/security/manager/pki/resources/content/escrowWarn.xul
index aa5bd8e2b56..2bcc29c6a1e 100644
--- a/security/manager/pki/resources/content/escrowWarn.xul
+++ b/security/manager/pki/resources/content/escrowWarn.xul
@@ -20,18 +20,16 @@
-
-
-
-
-
+ onload="onLoad();">
+
+
+
+
+
@@ -47,19 +45,19 @@
&escrowWarn.message2;
-
+
+ oncommand="viewCert();"/>
+ oncommand="doOK();" disabled="false"/>
+ oncommand="doCancel();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?priv_key_copy');"/>
diff --git a/security/manager/pki/resources/content/getp12password.xul b/security/manager/pki/resources/content/getp12password.xul
index 6ab3aee1ffa..41509ea3a56 100644
--- a/security/manager/pki/resources/content/getp12password.xul
+++ b/security/manager/pki/resources/content/getp12password.xul
@@ -27,18 +27,15 @@
-
+ onload="onP12Load();">
-
-
+
+
@@ -50,22 +47,22 @@
&pkcs12.getpassword.message;
-
+
-
-
+
+
+ oncommand="getPassword();"
+ default="true" accesskey="o"/>
+ oncommand="window.close();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?my_certs');"/>
diff --git a/security/manager/pki/resources/content/getpassword.xul b/security/manager/pki/resources/content/getpassword.xul
index fbdae91a4a6..1e52ae2545c 100644
--- a/security/manager/pki/resources/content/getpassword.xul
+++ b/security/manager/pki/resources/content/getpassword.xul
@@ -27,31 +27,28 @@
-
+ onload="onLoad();">
-
-
+
+
-
+
-
+
-
+
-
-
+
+
@@ -64,12 +61,12 @@
+ oncommand="getPassword();"
+ default="true" accesskey="o"/>
+ oncommand="window.close();"/>
+ oncommand="alert('help goes here');"/>
diff --git a/security/manager/pki/resources/content/load_device.xul b/security/manager/pki/resources/content/load_device.xul
index 464b3e9dc03..95b9898f179 100644
--- a/security/manager/pki/resources/content/load_device.xul
+++ b/security/manager/pki/resources/content/load_device.xul
@@ -35,8 +35,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&loaddevice.title;">
-
-
+
+
&loaddevice.info;
@@ -47,17 +47,17 @@
&loaddevice.filename;
-
+
+ class="normal"
+ oncommand="doLoadDevice();"/>
+ class="normal"
+ oncommand="window.close();"/>
diff --git a/security/manager/pki/resources/content/newserver.xul b/security/manager/pki/resources/content/newserver.xul
index 8a6ebdec4f4..06844a6f16d 100644
--- a/security/manager/pki/resources/content/newserver.xul
+++ b/security/manager/pki/resources/content/newserver.xul
@@ -36,10 +36,10 @@
onload="onLoad();"
orient="vertical">
-
-
-
-
+
+
+
+
@@ -56,7 +56,7 @@
+ oncommand="viewCert();"/>
diff --git a/security/manager/pki/resources/content/pref-certs.xul b/security/manager/pki/resources/content/pref-certs.xul
index 17d1ea7b28d..e4e2c1924d9 100644
--- a/security/manager/pki/resources/content/pref-certs.xul
+++ b/security/manager/pki/resources/content/pref-certs.xul
@@ -37,10 +37,10 @@
+ onload="parent.initPanel('chrome://pippki/content/pref-certs.xul');">
-
+
-
+
- &validation.crl.description;
+ &validation.crl.description;
+ oncommand="openCrlManager();"
+ id="managecrlbutton"
+ pref="true" preftype="bool" prefattribute="disabled"
+ prefstring="security.OCSP.disable_button.managecrl"/>
- &validation.ocsp.description;
+ &validation.ocsp.description;
+ pref="true" preftype="int" prefstring="security.OCSP.enabled"
+ prefattribute="value">
@@ -81,14 +81,14 @@
+ prefattribute="value" flex="1" oncommand="changeURL()">
+ prefattribute="value" flex="1"/>
diff --git a/security/manager/pki/resources/content/serverCertExpired.xul b/security/manager/pki/resources/content/serverCertExpired.xul
index dbc8d0bf651..c57fedeb230 100644
--- a/security/manager/pki/resources/content/serverCertExpired.xul
+++ b/security/manager/pki/resources/content/serverCertExpired.xul
@@ -20,18 +20,16 @@
-
-
-
-
-
+ onload="onLoad();">
+
+
+
+
+
@@ -49,16 +47,16 @@
+ oncommand="viewCert();"/>
+ oncommand="doOK();" disabled="false"/>
+ oncommand="doCancel();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?exp_web_cert');"/>
diff --git a/security/manager/pki/resources/content/setp12password.xul b/security/manager/pki/resources/content/setp12password.xul
index d2246072d51..06e775a4fc3 100644
--- a/security/manager/pki/resources/content/setp12password.xul
+++ b/security/manager/pki/resources/content/setp12password.xul
@@ -27,41 +27,38 @@
-
+ onload="onP12Load();">
-
-
+
+
&pkcs12.setpassword.message;
-
+
-
+
-
+
-
+
&pkcs12.setpassword.reminder;
-
+
@@ -69,7 +66,7 @@
+ width="200" style="foreground-color: red"/>
@@ -80,11 +77,11 @@
+ oncommand="setP12Password();" disabled="true"/>
+ oncommand="window.close();"/>
+ oncommand="openHelp('chrome://help/content/help.xul?cert_backup_pwd');"/>
diff --git a/security/manager/pki/resources/content/viewCertDetails.xul b/security/manager/pki/resources/content/viewCertDetails.xul
index caedc044fbb..fb8e0fc1417 100644
--- a/security/manager/pki/resources/content/viewCertDetails.xul
+++ b/security/manager/pki/resources/content/viewCertDetails.xul
@@ -29,89 +29,89 @@
xmlns:cert="http://netscape.com/rdf-cert#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
+
-
+
-
-
+
+
-
-
-
+
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+