X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=f2228424c8a62aa66a01c783d3b77c4d966970eb;hb=61e25db54f2da624a79ecedb6bf3d678c7fdefc5;hp=f6c1b026c73539f8b5d44aa8e2321cf89431fd10;hpb=bc53d77e5cd5543a76bb38aa2acf96fbfa61714d;p=freeside.git diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index f6c1b026c..f2228424c 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -2,7 +2,6 @@ <% my $conf = new FS::Conf; -my $mydomain = $conf->config('domain'); my($query) = $cgi->keywords; $query =~ /^(\d+)$/; @@ -32,11 +31,7 @@ if ( $svc_acct->domsvc ) { die "Unknown domain" unless $svc_domain; $domain = $svc_domain->domain; } else { - unless ( $mydomain ) { - die "No legacy domain config file and no svc_domain.svcnum record ". - "for svc_acct.domsvc: ". $cust_svc->domsvc; - } - $domain = $mydomain; + die "No svc_domain.svcnum record for svc_acct.domsvc: ". $cust_svc->domsvc; } %> @@ -83,7 +78,7 @@ if ( $password =~ /^\*\w+\* (.*)$/ ) { print "(login disabled) "; } if ( $conf->exists('showpasswords') ) { - print "$password"; + print '
'. encode_entities($password). '
'; } else { print "(hidden)"; } @@ -149,8 +144,8 @@ if ($svc_acct->slipip) { print 'RADIUS groups'. join('
', $svc_acct->radius_groups). ''; -print "". - '
'. joblisting({'svcnum'=>$svcnum}, 1). - ""; +print '

'. + join("\n", $conf->config('svc_acct-notes') ). + '

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