mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Switch all zone links from indexes to zone names https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3579856&group_id=17457
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
require './bind8-lib.pl';
|
||||
&error_setup($text{'zonekey_err'});
|
||||
&ReadParse();
|
||||
$zone = &get_zone_name($in{'index'}, $in{'view'});
|
||||
$zone = &get_zone_name_or_error($in{'zone'}, $in{'view'});
|
||||
$dom = $zone->{'name'};
|
||||
&can_edit_zone($zone) ||
|
||||
&error($text{'master_ecannot'});
|
||||
@@ -41,6 +41,6 @@ else {
|
||||
|
||||
&unlock_file(&make_chroot(&absolute_path($zone->{'file'})));
|
||||
&webmin_log("zonekeyon", undef, $dom);
|
||||
&ui_print_footer("edit_master.cgi?index=$in{'index'}&view=$in{'view'}",
|
||||
&ui_print_footer("edit_master.cgi?zone=$in{'zone'}&view=$in{'view'}",
|
||||
$text{'master_return'});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user