diff options
author | ivan <ivan> | 2002-10-08 08:33:25 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-10-08 08:33:25 +0000 |
commit | 419a97b632ab956ca10ea46eee69d3e35581c149 (patch) | |
tree | eccf7e3d86b63f407a643241089bc20a3377ea3d | |
parent | 5f30c9efb1090b595cac3761051dd3f18318a575 (diff) |
svc_acct-notes displays static HTML on account view (closes: Bug#465)
-rw-r--r-- | FS/FS/Conf.pm | 7 | ||||
-rwxr-xr-x | httemplate/view/svc_acct.cgi | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 37d66200e..c0860404f 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -974,6 +974,13 @@ httemplate/docs/config.html 'select_enum' => [ '', 'CARD', 'BILL', 'COMP', 'HIDE' ], }, + { + 'key' => 'svc_acct-notes', + 'section' => 'UI', + 'description' => 'Extra HTML to be displayed on the Account View screen.', + 'type' => 'textarea', + }, + ); 1; diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 19953bafd..ecea97426 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -149,8 +149,8 @@ if ($svc_acct->slipip) { print '<TR><TD ALIGN="right">RADIUS groups</TD><TD BGCOLOR="#ffffff">'. join('<BR>', $svc_acct->radius_groups). '</TD></TR>'; -print "</TABLE></TD></TR></TABLE>". - '<BR>'. joblisting({'svcnum'=>$svcnum}, 1). - "</BODY></HTML>"; +print '</TABLE></TD></TR></TABLE><BR><BR>'. + join("\n", $conf->config('svc_acct-notes') ). + '<BR><BR>'. joblisting({'svcnum'=>$svcnum}, 1). '</BODY></HTML>'; %> |