indent
parent
fd95afe8ea
commit
80e3f7c309
|
@ -65,7 +65,7 @@ sub pagetemplate (@) {
|
||||||
my $template=$params{template};
|
my $template=$params{template};
|
||||||
|
|
||||||
if ($template->query(name => "parentlinks") ||
|
if ($template->query(name => "parentlinks") ||
|
||||||
$template->query(name => "has_parentlinks")) {
|
$template->query(name => "has_parentlinks")) {
|
||||||
my @links=parentlinks($params{page});
|
my @links=parentlinks($params{page});
|
||||||
$template->param(parentlinks => \@links);
|
$template->param(parentlinks => \@links);
|
||||||
$template->param(has_parentlinks => (@links > 0));
|
$template->param(has_parentlinks => (@links > 0));
|
||||||
|
|
Loading…
Reference in New Issue