To be more specific, do something like this:
my $tags;
$tags->{'paging.url'} = $CFG->{db_cgi_url} . "/featured.cgi";
$tags->{'paging.num_hits'} = $tab->hits;
$tags->{'paging.current_page'} = $IN->param('nh');
$tags->{'output'} = $output;
print $IN->header();
print Links::SiteHTML::display('featured', $tags);
You will also have to change the top line to this: use Links qw/$DB $IN $CFG/;
- Jonathan
Code:
my $tags;
$tags->{'paging.url'} = $CFG->{db_cgi_url} . "/featured.cgi";
$tags->{'paging.num_hits'} = $tab->hits;
$tags->{'paging.current_page'} = $IN->param('nh');
$tags->{'output'} = $output;
print $IN->header();
print Links::SiteHTML::display('featured', $tags);
You will also have to change the top line to this: use Links qw/$DB $IN $CFG/;
- Jonathan