From 492d44e4f7e97757b100f53e3a75627b80a1b714 Mon Sep 17 00:00:00 2001 From: donal72 Date: Mon, 15 Jan 2007 22:00:28 +0000 Subject: [PATCH] Mnet: Show that a key has expired. --- admin/mnet/mnet_review.html | 12 ++++++++++++ lang/en_utf8/mnet.php | 1 + 2 files changed, 13 insertions(+) diff --git a/admin/mnet/mnet_review.html b/admin/mnet/mnet_review.html index 4ec6f8af29..f017df6153 100644 --- a/admin/mnet/mnet_review.html +++ b/admin/mnet/mnet_review.html @@ -60,6 +60,18 @@ if (isset($mnet_peer->deleted) && $mnet_peer->deleted > 0) { + + : + +public_key_expires < time()) { + print_string('expired', 'mnet'); + echo ' '; + } + echo userdate($mnet_peer->public_key_expires); +?> + + Click on Continue to edit that record.'; $string['publickey'] = 'Public key'; $string['expires'] = 'Valid until'; +$string['expired'] = 'This key expired on'; $string['publickey_help'] = 'The public key is automatically obtained from the remote server.'; $string['couldnotgetcert'] = 'No certificate found at
$a.
The host may be down or incorrectly configured.'; $string['ipaddress'] = 'IP address'; -- 2.39.5