diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2019-02-27 21:16:56 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2019-02-27 21:16:56 -0800 |
| commit | d285949574cc657ff52a49c028478361442b9e22 (patch) | |
| tree | 70df0f90c1a12883b840338db64835acd5379509 /httemplate | |
| parent | 7dd03b9e4cb7431262aeb08112908c753666447f (diff) | |
| parent | 00a38db12c1475aadd4489f50c79cef7aca58140 (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/browse/router.cgi | 6 | ||||
| -rw-r--r-- | httemplate/edit/elements/part_svc_column.html | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi index c7713f313..354111875 100644 --- a/httemplate/browse/router.cgi +++ b/httemplate/browse/router.cgi @@ -17,8 +17,6 @@ %> <%init> -use CGI qw(escapeHTML); - die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Broadband configuration') || $FS::CurrentUser::CurrentUser->access_right('Broadband global configuration'); @@ -50,8 +48,8 @@ my @links = ( [ "${p2}edit/router.cgi?", 'routernum' ], ); foreach (FS::router->virtual_fields_hash) { - push @header_fields, escapeHTML($_->{'label'}); - push @fields, escapeHTML($_->{'name'}); + push @header_fields, encode_entities($_->{'label'}); + push @fields, encode_entities($_->{'name'}); push @links, ''; } diff --git a/httemplate/edit/elements/part_svc_column.html b/httemplate/edit/elements/part_svc_column.html index 075f15e2c..bdbce7c79 100644 --- a/httemplate/edit/elements/part_svc_column.html +++ b/httemplate/edit/elements/part_svc_column.html @@ -97,7 +97,7 @@ my %communigate_fields = ( <TD ROWSPAN=2 CLASS="grid"> <INPUT NAME="<% $svcdb %>__<% $field %>_label" STYLE="text-align: right" - VALUE="<% $part_svc_column->columnlabel || escapeHTML($def->{'label'}) |h %>"> + VALUE="<% $part_svc_column->columnlabel || $def->{'label'} |h %>"> </TD> <TD ROWSPAN=1 CLASS="grid"> |
