summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_domain.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-02-11 19:38:58 +0000
committerivan <ivan>2002-02-11 19:38:58 +0000
commitf255042296a645e7d90c19ee6740796250cfb9f3 (patch)
tree3864e6e2edb214bc389a70434a51345496225566 /httemplate/view/svc_domain.cgi
parent505345d25040f78a9fdffa5666cd6b9f41a117a5 (diff)
svc_www is working!
also auto-create and add A records if necessary using apacheip config file. and show all domain_records on view/svc_domain.cgi page
Diffstat (limited to 'httemplate/view/svc_domain.cgi')
-rwxr-xr-xhttemplate/view/svc_domain.cgi13
1 files changed, 12 insertions, 1 deletions
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi
index f30211098..f086cda1a 100755
--- a/httemplate/view/svc_domain.cgi
+++ b/httemplate/view/svc_domain.cgi
@@ -46,6 +46,17 @@ print header('Domain View', menubar(
qq!<BR>Catch all email <A HREF="${p}misc/catchall.cgi?$svcnum">(change)</A>:!,
$email ? "<B>$email</B>." : "<I>(none)<I>",
qq!<BR><BR><A HREF="http://www.geektools.com/cgi-bin/proxy.cgi?query=$domain;targetnic=auto">View whois information.</A>!,
- '</BODY></HTML>',
+ '<BR><BR>', ntable("",2),
+ '<tr><th>Zone</th><th>Type</th><th>Data</th></tr>',
;
+
+foreach my $domain_record ( qsearch('domain_record', { svcnum => $svcnum } ) ) {
+ print '<tr><td>'. $domain_record->reczone. '</td>'.
+ '<td>'. $domain_record->recaf. ' '. $domain_record->rectype. '</td>'.
+ '<td>'. $domain_record->recdata. '</td></tr>';
+}
+print '</table>';
+
+print '</BODY></HTML>';
+
%>