Show key file paths

This commit is contained in:
Jamie Cameron
2014-04-25 22:54:52 -07:00
parent eb8d576f71
commit 4470edb19b
2 changed files with 8 additions and 2 deletions

View File

@@ -33,12 +33,16 @@ if (@keyrecs) {
$kt, 0, "edit_zonekey.cgi?$in");
print $text{'zonekey_public'},"<br>\n";
print &ui_textarea("keyline", $keyline, 2, 80, "off", 0,
"readonly style='width:90%'"),"<p>\n";
"readonly style='width:90%'"),"<br>\n";
print &text('zonekey_publicfile',
"<tt>$key->{'publicfile'}</tt>"),"<p>\n";
print $text{'zonekey_private'},"<br>\n";
print &ui_textarea(
"private", $key->{'privatetext'}, 8, 80,
"off", 0, "readonly style='width:90%'");
"off", 0, "readonly style='width:90%'"),"<br>\n";
print &text('zonekey_privatefile',
"<tt>$key->{'privatefile'}</tt>"),"<br>\n";
print &ui_hidden_end();
}
if (!@keys) {

View File

@@ -1147,7 +1147,9 @@ zonekey_esign=.. signing failed : $1
zonekey_already=The zone already has a DNSSEC key, and so is already signed.
zonekey_webmin=Webmin will re-sign the zone automatically when any changes are made.
zonekey_public=Public key record :
zonekey_publicfile=Public key file : $1
zonekey_private=Private key details :
zonekey_privatefile=Private key file : $1
zonekey_expandksk=Show public and private key-signing-key details ..
zonekey_expandzone=Show public and private zone-key details ..
zonekey_noprivate=However, Webmin could not find the private key associated with the zone, and so will not be able to re-sign it.