X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fsmall_custview.html;h=919df5631a9bed27e08d635c8bd4da29d71188c6;hb=8dd41f364aaba88969dfd0908feb22709025e7f6;hp=8d6e07368dec8b937cb7125ed5bf02d2c4d1d95c;hpb=cace6fef1d121d43d76166851aaa30c6c15857e5;p=freeside.git
diff --git a/fs_selfservice/FS-SelfService/cgi/small_custview.html b/fs_selfservice/FS-SelfService/cgi/small_custview.html
index 8d6e07368..919df5631 100644
--- a/fs_selfservice/FS-SelfService/cgi/small_custview.html
+++ b/fs_selfservice/FS-SelfService/cgi/small_custview.html
@@ -1,7 +1,7 @@
-Customer #
<%= $custnum %>
- -
<%= ucfirst($status)%>
+Customer #
<%= $display_custnum %>
+ -
<%= $status_label %>
@@ -10,10 +10,10 @@ Customer #<%= $custnum %>
? 'Billing Address
'
: ''
%>
- <%= $first %> <%= $last %>
- <%= $company ? $company.'
' : '' %>
- <%= $address1 %>
- <%= $address2 ? $address2.'
' : '' %>
+ <%= encode_entities($first) %> <%= encode_entities($last) %>
+ <%= $company ? encode_entities($company).'
' : '' %>
+ <%= encode_entities($address1) %>
+ <%= $address2 ? encode_entities($address2).'
' : '' %>
<%= $city %>, <%= $state %> <%= $zip %>
<%= $country && $country ne ($countrydefault||'US')
? $country.'
'