X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_domain.cgi;h=f396630946669d558e1df0a916915b19c9eaad58;hb=33f3d32f1d13b8342f208f8633f5f9a3a7bcb392;hp=e4b16d99858449e45c9a939e92df9b6a6928e26c;hpb=e3f327b2af9e6a591bae41d315fda731ec7f5128;p=freeside.git diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index e4b16d998..f39663094 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -32,12 +32,12 @@ my $domain = $svc_domain->domain; %> -<%= header('Domain View', menubar( +<%= include("/elements/header.html",'Domain View', menubar( ( ( $pkgnum || $custnum ) ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", ) - : ( "Cancel this (unaudited) domain" => - "${p}misc/cancel-unaudited.cgi?$svcnum" ) + : ( "Delete this (unaudited) domain" => + "javascript:areyousure('${p}misc/cancel-unaudited.cgi?$svcnum', 'Delete $domain and all records?' )" ) ), "Main menu" => $p, )) %> @@ -47,13 +47,16 @@ Service #<%= $svcnum %>
Domain name: <%= $domain %>
Catch all email (change): <%= $email ? "$email" : "(none)" %> -

View whois information. +

View whois information.

<% my @records; if ( @records = $svc_domain->domain_record ) { %> @@ -71,7 +74,7 @@ Service #<%= $svcnum %> <%= $domain_record->recdata %> <% unless ( $domain_record->rectype eq 'SOA' ) { %> - (delete) + (delete) <% } %> <% } %> @@ -84,13 +87,13 @@ Service #<%= $svcnum %> IN

or

-
+ <% if ( @records ) { %> Delete all records and <% } %> @@ -99,7 +102,7 @@ Slave from nameserver IP - +


<%= joblisting({'svcnum'=>$svcnum}, 1) %>