diff options
author | ivan <ivan> | 2007-08-01 22:26:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-08-01 22:26:52 +0000 |
commit | eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd (patch) | |
tree | bb38241e8c865c3bca861da7749071feeadd2b5b /httemplate/config/config.cgi | |
parent | 32b5d3a31f112a381f0a15ac5e3a2204242f3405 (diff) |
event refactor, landing on HEAD!
Diffstat (limited to 'httemplate/config/config.cgi')
-rw-r--r-- | httemplate/config/config.cgi | 8 |
1 files changed, 6 insertions, 2 deletions
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 %> </BODY> </HTML> <%once> + my $conf = new FS::Conf; -my %confitems = map { $_->key => $_ } $conf->config_items; -</%once> +my @config_items = grep { $_->key != ~/^invoice_(html|latex|template)/ } + $conf->config_items; +my %confitems = map { $_->key => $_ } @config_items; +</%once> <%init> + die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); |