projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5f30c9e
)
svc_acct-notes displays static HTML on account view (closes: Bug#465)
author
ivan
<ivan>
Tue, 8 Oct 2002 08:33:25 +0000
(08:33 +0000)
committer
ivan
<ivan>
Tue, 8 Oct 2002 08:33:25 +0000
(08:33 +0000)
FS/FS/Conf.pm
patch
|
blob
|
history
httemplate/view/svc_acct.cgi
patch
|
blob
|
history
diff --git
a/FS/FS/Conf.pm
b/FS/FS/Conf.pm
index
37d6620
..
c086040
100644
(file)
--- a/
FS/FS/Conf.pm
+++ b/
FS/FS/Conf.pm
@@
-974,6
+974,13
@@
httemplate/docs/config.html
'select_enum' => [ '', 'CARD', 'BILL', 'COMP', 'HIDE' ],
},
'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;
);
1;
diff --git
a/httemplate/view/svc_acct.cgi
b/httemplate/view/svc_acct.cgi
index
19953ba
..
ecea974
100755
(executable)
--- 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 '<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>'
;
%>
%>