my $tt_params = _get_tt_params( $tables );
$content = qq|[% USE KohaDates %]$content|;
my $output;
$template->process( \$content, $tt_params, \$output ) || croak "ERROR PROCESSING TEMPLATE: " . $template->error();
-