diff options
-rw-r--r-- | httemplate/browse/rate_region.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/httemplate/browse/rate_region.html b/httemplate/browse/rate_region.html index b454a9e74..953bbf17a 100644 --- a/httemplate/browse/rate_region.html +++ b/httemplate/browse/rate_region.html @@ -12,9 +12,9 @@ 'order_by' => 'ORDER BY LOWER(regionname)', }, 'count_query' => $count_query, - 'header' => [ '#', 'Region', 'Country code', 'Prefixes' ], - 'fields' => [ 'regionnum', 'regionname', 'ccode', 'prefixes' ], - 'links' => [ $link, $link, $link, $link ], + 'header' => \@header, + 'fields' => \@fields, + 'links' => \@links, ) %> <%once> @@ -58,6 +58,10 @@ my $base_count_sql = 'SELECT COUNT(*) FROM rate_region'; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); +my @header = ( '#', 'Region', 'Country code', 'Prefixes' ); +my @fields = ( 'regionnum', 'regionname', 'ccode', 'prefixes' ); +my @links = ( $link, $link, $link, $link ); + $cgi->param('dummy', 1); my $countrycode_filter_change = "window.location = '". |