| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/libexec/webmin/bind8/ |
Upload File : |
#!/usr/bin/perl
# edit_hint.cgi
# Display information about the hint (root) zone
require './bind8-lib.pl';
&ReadParse();
$zone = &get_zone_name($in{'index'}, $in{'view'});
$dom = $zone->{'name'};
&can_edit_zone($zone) ||
&error($text{'hint_ecannot'});
&ui_print_header(undef, $text{'hint_title'}, "",
undef, undef, undef, undef, &restart_links());
print $text{'hint_desc'},"<p>\n";
print &ui_buttons_start();
# Re-fetch master file button
print &ui_buttons_row("refetch.cgi",
$text{'hint_refetch'},
$text{'hint_refetchdesc'},
&ui_hidden("index", $in{'index'}).
&ui_hidden("view", $in{'view'}));
# Delete button
print &ui_buttons_row(
"delete_zone.cgi",
$text{'hint_delete'},
$text{'hint_deletedesc'},
&ui_hidden("index", $in{'index'}).
&ui_hidden("view", $in{'view'}));
print &ui_buttons_end();
&ui_print_footer("", $text{'index_return'});