mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
23 lines
618 B
Perl
Executable File
23 lines
618 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Just display the Webmin LDAP schema
|
|
|
|
use strict;
|
|
use warnings;
|
|
no warnings 'redefine';
|
|
no warnings 'uninitialized';
|
|
require './acl-lib.pl';
|
|
our (%in, %text, %config, %access);
|
|
$access{'pass'} || &error($text{'sql_ecannot'});
|
|
|
|
&ui_print_unbuffered_header(undef, $text{'schema_title'}, "");
|
|
|
|
print $text{'schema_desc'},"<p>\n";
|
|
print &ui_table_start(undef, undef, 2);
|
|
print &ui_table_row(undef,
|
|
"<pre>".&html_escape(&read_file_contents("webmin.schema"))."</pre>", 2);
|
|
print &ui_table_end();
|
|
print &text('schema_download', 'webmin.schema'),"<p>\n";
|
|
|
|
&ui_print_footer("", $text{'index_return'});
|
|
|