From 69f92e8567d1952bc4cbf29d944b97051467bd11 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 8 Oct 2002 08:33:27 +0000 Subject: [PATCH] svc_acct-notes displays static HTML on account view (closes: Bug#465) --- FS/FS/Conf.pm | 6 ++++++ httemplate/view/svc_acct.cgi | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 1c4ad04a3..3fdaf218a 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -960,6 +960,12 @@ 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', + }, ); diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index df55e85bf..f2228424c 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -144,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). ''; %> -- 2.11.0