From 23186f0338ec248d930c85db08cc997bca42525b Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 22 May 2002 18:44:01 +0000 Subject: bind export, editing zones, deleting unaudited domains, mmm --- httemplate/view/svc_domain.cgi | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 61194a26d..28214f04e 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -35,7 +35,7 @@ print header('Domain View', menubar( ? ( "View this package (#$pkgnum)" => "${p}view/cust_pkg.cgi?$pkgnum", "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", ) - : ( "Cancel this (unaudited) account" => + : ( "Cancel this (unaudited) domain" => "${p}misc/cancel-unaudited.cgi?$svcnum" ) ), "Main menu" => $p, @@ -46,17 +46,36 @@ print header('Domain View', menubar( qq!
Catch all email (change):!, $email ? "$email." : "(none)", qq!

View whois information.!, - '

', ntable("",2), + '

', + '', + ntable("",2), 'ZoneTypeData', ; -foreach my $domain_record ( qsearch('domain_record', { svcnum => $svcnum } ) ) { + +foreach my $domain_record ( $svc_domain->domain_record ) { print ''. $domain_record->reczone. ''. ''. $domain_record->recaf. ' '. $domain_record->rectype. ''. - ''. $domain_record->recdata. ''; + ''. $domain_record->recdata; + print qq! (delete)! + unless $domain_record->rectype eq 'SOA'; + print ''; } -print ''. - '
'. joblisting({'svcnum'=>$svcnum}, 1). +print '
'. + qq!
!. + qq!!. + ' '. + 'IN '. + ''. + ' '. + '

'. joblisting({'svcnum'=>$svcnum}, 1). ''; %> -- cgit v1.2.1