1 <% include('/elements/header-popup.html', 'Edit nameservice record') %>
3 <% include('/elements/error.html') %>
5 <FORM METHOD="POST" ACTION="process/domain_record.cgi">
7 <INPUT TYPE="hidden" NAME="recnum" VALUE="<% $opt{'recnum'} %>">
9 <% ntable("#cccccc", 2) %>
13 <INPUT TYPE="text" NAME="reczone" VALUE="<% $domain_record->reczone %>">
15 <FONT SIZE="-1"><I>Zone</I></FONT>
18 <INPUT TYPE="hidden" NAME="recaf" VALUE="IN">
19 <SELECT NAME="rectype">
20 % foreach ( @{ FS::domain_record->rectypes } ) {
21 <OPTION VALUE="<%$_%>"
22 <% $_ eq $domain_record->rectype ? 'SELECTED' : '' %>
26 <FONT SIZE="-1"><I>Type</I></FONT>
29 <INPUT TYPE="text" NAME="recdata" VALUE="<% $domain_record->recdata |h %>">
31 <FONT SIZE="-1"><I>Data</I></FONT>
34 <INPUT TYPE="text" NAME="ttl" size="6" VALUE="<% $domain_record->ttl %>">
36 <FONT SIZE="-1"><I>TTL</I></FONT>
42 <INPUT TYPE="submit" VALUE="Edit record">
50 my $domain_record = qsearchs('domain_record', { 'recnum' => $opt{'recnum'} } )
51 or die "unknown recnum";