mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Include forgotten password pages in package
This commit is contained in:
28
bind8/list_tls.cgi
Normal file
28
bind8/list_tls.cgi
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Show all registered TLS keys
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
no warnings 'redefine';
|
||||
no warnings 'uninitialized';
|
||||
our (%access, %text);
|
||||
|
||||
require './bind8-lib.pl';
|
||||
$access{'defaults'} || &error($text{'tls_ecannot'});
|
||||
&supports_tls() || &error($text{'tls_esupport'});
|
||||
my $conf = &get_config();
|
||||
|
||||
&ui_print_header(undef, $text{'tls_title'}, "");
|
||||
|
||||
# Show a table of TLS keys
|
||||
my @tls = &find("tls", $conf);
|
||||
my @links = ( &ui_link("edit_tls.cgi?new=1", $text{'tls_add'}) );
|
||||
if (@tls) {
|
||||
print &ui_links_row(\@links);
|
||||
print &ui_columns_start([ $text{'tls_name'},
|
||||
$text{'tls_key'},
|
||||
$text{'tls_cert'} ], 100);
|
||||
# XXX
|
||||
print &ui_columns_end();
|
||||
}
|
||||
print &ui_links_row(\@links);
|
||||
@@ -60,7 +60,8 @@ $vers || usage();
|
||||
"webmin-search-lib.pl", "WebminCore.pm",
|
||||
"record-login.pl", "record-logout.pl", "record-failed.pl",
|
||||
"robots.txt", "unauthenticated", "bin", "html-editor-lib.pl",
|
||||
"switch_theme.cgi", "os_eol.json",
|
||||
"switch_theme.cgi", "os_eol.json", "forgot_form.cgi",
|
||||
"forgot_send.cgi", "forgot.cgi",
|
||||
);
|
||||
if ($min) {
|
||||
# Only those required by others
|
||||
|
||||
Reference in New Issue
Block a user