X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig.cgi;h=485565e8009b5b5c342b2f278a483d3f45aa543f;hp=10bbadaf8720e9cb7657536ade15fb24d2442311;hb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;hpb=32b5d3a31f112a381f0a15ac5e3a2204242f3405 diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi index 10bbadaf8..485565e80 100644 --- a/httemplate/config/config.cgi +++ b/httemplate/config/config.cgi @@ -267,11 +267,15 @@ Setting <% $key %> <%once> + my $conf = new FS::Conf; -my %confitems = map { $_->key => $_ } $conf->config_items; - +my @config_items = grep { $_->key != ~/^invoice_(html|latex|template)/ } + $conf->config_items; +my %confitems = map { $_->key => $_ } @config_items; + <%init> + die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration');