summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2010-09-11 17:02:59 +0000
committerivan <ivan>2010-09-11 17:02:59 +0000
commitd583a5d3c0647488bac7b7a33d319fd1a85c05b3 (patch)
tree01e1cf840e570ce9e3ee57fe439d8890e407d5f0 /httemplate/view
parent0afabbd646c01ed4c88826edc9d290698b220418 (diff)
dns updates from Erik L: add ttl support, add check for SRV and finish allowing additional rectypes, allow forward slashes for RFC2317 classless in-arpa delegation, RT#8933
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/svc_domain/dns.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/view/svc_domain/dns.html b/httemplate/view/svc_domain/dns.html
index a73a27e57..6380db7b2 100644
--- a/httemplate/view/svc_domain/dns.html
+++ b/httemplate/view/svc_domain/dns.html
@@ -26,6 +26,7 @@
<th CLASS="grid" BGCOLOR="#cccccc">Zone</th>
<th CLASS="grid" BGCOLOR="#cccccc">Type</th>
<th CLASS="grid" BGCOLOR="#cccccc">Data</th>
+ <th CLASS="grid" BGCOLOR="#cccccc">TTL</th>
</tr>
% foreach my $domain_record ( @records ) {
@@ -37,7 +38,9 @@
<tr>
<td CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $domain_record->reczone %></td>
<td CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $type %></td>
- <td CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $domain_record->recdata %>
+ <td CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $domain_record->recdata %></td>
+ <td CLASS="grid" BGCOLOR="<% $bgcolor %>"><% $domain_record->ttl %></td>
+ <td CLASS="grid" BGCOLOR="<% $bgcolor %>">
% unless ( $domain_record->rectype eq 'SOA'
% || ! $FS::CurrentUser::CurrentUser->access_right('Edit domain nameservice')
@@ -80,6 +83,7 @@
% }
</SELECT>
<INPUT TYPE="text" NAME="recdata">
+ <INPUT TYPE="text" NAME="ttl" size="6">
<INPUT TYPE="submit" VALUE="Add record">
</FORM>