#!/usr/local/bin/perl # edit_text.cgi # Display a form for manually editing a records file require './dns-lib.pl'; &ReadParse(); %access = &get_module_acl(); $zconf = &get_config()->[$in{'index'}]; &can_edit_zone(\%access, $zconf->{'values'}->[0]) || &error("You are not allowed to edit this zone"); $file = &absolute_path($zconf->{'values'}->[1]); &header("Edit Records File", ""); print "
\n"; print "
\n"; print &ui_hr(); &footer("edit_master.cgi?index=$in{'index'}", "record types");