projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
skip comment & blank lines
[freeside.git]
/
httemplate
/
view
/
svc_acct.cgi
diff --git
a/httemplate/view/svc_acct.cgi
b/httemplate/view/svc_acct.cgi
index
a4e3770
..
fd2a325
100755
(executable)
--- a/
httemplate/view/svc_acct.cgi
+++ b/
httemplate/view/svc_acct.cgi
@@
-1,4
+1,4
@@
-<!--
$Id: svc_acct.cgi,v 1.10 2002-01-30 14:18:09 ivan Exp $
-->
+<!--
mason kludge
-->
<%
my $conf = new FS::Conf;
<%
my $conf = new FS::Conf;
@@
-79,6
+79,12
@@
if ( $conf->exists('showpasswords') ) {
print "</TR></TD>";
$password = '';
print "</TR></TD>";
$password = '';
+if ( $conf->exists('security_phrase') ) {
+ my $sec_phrase = $svc_acct->sec_phrase;
+ print '<TR><TD ALIGN="right">Security phrase</TD><TD BGCOLOR="#ffffff">'.
+ $svc_acct->sec_phrase. '</TD></TR>';
+}
+
my $svc_acct_pop = qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum});
print "<TR><TD ALIGN=\"right\">Access number</TD>".
"<TD BGCOLOR=\"#ffffff\">". $svc_acct_pop->text. '</TD></TR>'
my $svc_acct_pop = qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum});
print "<TR><TD ALIGN=\"right\">Access number</TD>".
"<TD BGCOLOR=\"#ffffff\">". $svc_acct_pop->text. '</TD></TR>'
@@
-129,6
+135,11
@@
if ($svc_acct->slipip) {
print "<TR><TH COLSPAN=2>(No SLIP/PPP account)</TH></TR>";
}
print "<TR><TH COLSPAN=2>(No SLIP/PPP account)</TH></TR>";
}
-print "</TABLE></TD></TR></TABLE></BODY></HTML>";
+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>";
%>
%>