projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FS RT #30363 - Hide Account usage template output in an HTML comment when $hide_usage...
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
view_usage.html
diff --git
a/fs_selfservice/FS-SelfService/cgi/view_usage.html
b/fs_selfservice/FS-SelfService/cgi/view_usage.html
index
f50f770
..
c43f7d3
100644
(file)
--- a/
fs_selfservice/FS-SelfService/cgi/view_usage.html
+++ b/
fs_selfservice/FS-SelfService/cgi/view_usage.html
@@
-18,6
+18,8
@@
'';
%>
<%= include('header', 'Account usage') %>
'';
%>
<%= include('header', 'Account usage') %>
+<%= if( $hide_usage ){ $OUT .= '<' . '!--' } %>
+
<%= if ( $error ) {
$OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
<%= if ( $error ) {
$OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
@@
-216,4
+218,6
@@
foreach my $svc_port ( @svc_port ) {
</TD></TR></TABLE>
</TD></TR></TABLE>
+<%= if( $hide_usage ){ $OUT .= '--'. '>' } %>
<%= include('footer') %>
<%= include('footer') %>
+