sub import {
hook(type => "parentlinks", id => "parentlinks", call => \&parentlinks);
hook(type => "pagetemplate", id => "parentlinks", call => \&pagetemplate);
sub import {
hook(type => "parentlinks", id => "parentlinks", call => \&parentlinks);
hook(type => "pagetemplate", id => "parentlinks", call => \&pagetemplate);
my $template=$params{template};
if ($template->query(name => "parentlinks") ||
$template->query(name => "has_parentlinks")) {
my $template=$params{template};
if ($template->query(name => "parentlinks") ||
$template->query(name => "has_parentlinks")) {