pagestats: consistent indentation
parent
cd5a24d8b4
commit
89492a62a7
|
@ -34,14 +34,14 @@ sub getsetup () {
|
|||
sub linktext ($%) {
|
||||
# Return the text of the link to a tag, depending on option linktext.
|
||||
my ($page, %params) = @_;
|
||||
if (exists $params{disp} &&
|
||||
exists $pagestate{$page} &&
|
||||
exists $pagestate{$page}{meta}{$params{disp}}) {
|
||||
return $pagestate{$page}{meta}{$params{disp}};
|
||||
}
|
||||
else {
|
||||
return undef;
|
||||
}
|
||||
if (exists $params{disp} &&
|
||||
exists $pagestate{$page} &&
|
||||
exists $pagestate{$page}{meta}{$params{disp}}) {
|
||||
return $pagestate{$page}{meta}{$params{disp}};
|
||||
}
|
||||
else {
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
|
||||
sub preprocess (@) {
|
||||
|
|
Loading…
Reference in New Issue