X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_domain.cgi;h=d6565db345322c8b7bfc1b499ffd51a133d99059;hb=3a17b276638200475d54201fa62566b7440e819a;hp=8653c4f42302b4bd4d5897a64a12025404ee4b7d;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index 8653c4f42..d6565db34 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -4,14 +4,18 @@ ) : ( "Delete this (unaudited) domain" => "javascript:areyousure('${p}misc/cancel-unaudited.cgi?$svcnum', 'Delete $domain and all records?' )" ) - ), - "Main menu" => $p, + ) )) %> Service #<% $svcnum %>
Service: <% $part_svc->svc %>
Domain name: <% $domain %> -
Catch all email (change): +% if ( $FS::CurrentUser::CurrentUser->access_right('Edit domain catchall') ) { +
Catch all email (change): +% } else { +
Catch all email: +% } + <% $email ? "$email" : "(none)" %>

View whois information.

@@ -50,7 +54,9 @@ Service #<% $svcnum %> <% $type %> <% $domain_record->recdata %> -% unless ( $domain_record->rectype eq 'SOA' ) { +% unless ( $domain_record->rectype eq 'SOA' +% || ! $FS::CurrentUser::CurrentUser->access_right('Edit domain nameservice') +% ) { % ( my $recdata = $domain_record->recdata ) =~ s/"/\\'\\'/g; (delete) % } @@ -69,42 +75,50 @@ Service #<% $svcnum %> % } +% if ( $FS::CurrentUser::CurrentUser->access_right('Edit domain nameservice') ) { +
+
+ + + IN + + + +
+ +

+ or +

+ +
+ +% if ( @records ) { + Delete all records and +% } + Slave from nameserver IP + + + + + + +
+ +% } -
-
- - - IN - - -


or

-
- -% if ( @records ) { - Delete all records and -% } +

-Slave from nameserver IP - - - - - -
-

<% joblisting({'svcnum'=>$svcnum}, 1) %> +<% joblisting({'svcnum'=>$svcnum}, 1) %> <% include('/elements/footer.html') %> <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('View customer services') - || $FS::CurrentUser::CurrentUser->access_right('View customer'); #XXX remove me + unless $FS::CurrentUser::CurrentUser->access_right('View customer services'); my($query) = $cgi->keywords; $query =~ /^(\d+)$/;