--- trunk2/lib/WebPAC.pm 2004/10/30 20:07:53 559 +++ trunk2/lib/WebPAC.pm 2004/10/30 23:04:37 560 @@ -47,6 +47,7 @@ There is optinal parametar C which specify different filters which can be applied using C notation. +Same filters can be used in Template Toolkit files. This method will also read configuration files C (used by indexer and Web font-end) @@ -112,9 +113,7 @@ # create Template toolkit instance $self->{'tt'} = Template->new( INCLUDE_PATH => ($self->{'global_config_file'}->{'output_template'} || './output_template'), -# FILTERS => { -# 'foo' => \&foo_filter, -# }, + FILTERS => $self->{'filter'}, EVAL_PERL => 1, );