MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/libexec/webmin/bind8/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/libexec/webmin/bind8/conf_acls.cgi
#!/usr/bin/perl
# conf_acls.cgi
# Display global ACLs

require './bind8-lib.pl';
$access{'defaults'} || &error($text{'acls_ecannot'});
&ui_print_header(undef, $text{'acls_title'}, "");

$conf = &get_config();
@acls = ( &find("acl", $conf), { } );

print &ui_form_start("save_acls.cgi", "post");
print &ui_columns_start([ $text{'acls_name'}, $text{'acls_values'} ]);
for($i=0; $i<@acls; $i++) {
	@cols = ( );
	push(@cols, &ui_textbox("name_$i", $acls[$i]->{'value'}, 15));
	@vals = map { join(" ", $_->{'name'}, @{$_->{'values'}}) }
		    @{$acls[$i]->{'members'}};
	push(@cols, &ui_textarea("values_$i", join("\n", @vals), 5, 60, "off"));
	print &ui_columns_row(\@cols, [ "valign=top" ]);
	}
print &ui_columns_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);

&ui_print_footer("", $text{'index_return'});


Anon7 - 2021