From eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 1 Aug 2007 22:26:52 +0000 Subject: event refactor, landing on HEAD! --- httemplate/config/config.cgi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'httemplate/config/config.cgi') 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'); -- cgit v1.2.1