if extrafooter is already set, append to it
to interoperate with future plugins using itmaster
parent
29cb940f77
commit
b1d8437f8a
|
@ -29,8 +29,11 @@ sub pagetemplate (@) { #{{{
|
|||
my %params=@_;
|
||||
my $template=$params{template};
|
||||
|
||||
$template->param(extrafooter => mirrorlist($params{page}))
|
||||
if $template->query(name => "extrafooter");
|
||||
if ($template->query(name => "extrafooter")) {
|
||||
my $value=$template->param("extrafooter");
|
||||
$value.=mirrorlist($params{page});
|
||||
$template->param(extrafooter => $value);
|
||||
}
|
||||
} # }}}
|
||||
|
||||
sub mirrorlist ($) { #{{{
|
||||
|
|
Loading…
Reference in New Issue