#!/usr/local/bin/perl
# edit_virt.cgi
# Edit an existing qmail virt

require './qmail-lib.pl';
&ReadParse();
@virts = &list_virts();
$v = $virts[$in{'idx'}];

&header($text{'vform_edit'}, "");
print "<hr>\n";
&virt_form($v);
print "<hr>\n";
&footer("list_virts.cgi", $text{'virts_return'});

