X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=7b2e55a55982979564416bfbfe71961162f8ab1b;hb=228d0171b07879ce7a585c87aa5580237df74842;hp=1c9e719c54620943377fa4b60bfd1b69337da81d;hpb=16c302199c7544f6842978d3a97d154e7a9e225f;p=freeside.git diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index 1c9e719c5..7b2e55a55 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -200,11 +200,15 @@ invoice language options: -
<% encode_entities(join("\n",
-     map { length($_) > 88 ? substr($_,0,88).'...' : $_ }
-         $conf->config($i->key, $agentnum)
-   ) )
-%>
+ +% my $escaped = eval { encode_entities(join("\n", +% map { length($_) > 88 ? substr($_,0,88).'...' : $_ } +% $conf->config($i->key, $agentnum) +% ) ); +% }; +% $escaped = $@ ? '('.encode_entities($@).')' : $escaped; +
<% $escaped %>
+ @@ -415,10 +419,11 @@ my @config_items = grep { !defined($locale) or $_->per_locale } my @deleteable = qw( invoice_latexreturnaddress invoice_htmlreturnaddress ); my %deleteable = map { $_ => 1 } @deleteable; -my @sections = qw( - required billing invoicing notification UI API self-service ticketing - network_monitoring username password session shell BIND telephony -), '', 'deprecated'; +my @sections = (qw( + required billing invoicing notification UI API self-service ticketing + network_monitoring username password session shell BIND telephony + ), '', 'deprecated' +); my %section_items = (); foreach my $section (@sections) {