qualify template_file
parent
59ba938822
commit
f7a2a4b4d4
|
@ -42,7 +42,7 @@ sub preprocess (@) {
|
||||||
$template_file=srcfile($pagesources{$template_page});
|
$template_file=srcfile($pagesources{$template_page});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$template_file=template_file("$params{id}.tmpl")
|
$template_file=IkiWiki::template_file("$params{id}.tmpl")
|
||||||
}
|
}
|
||||||
return sprintf(gettext("template %s not found"),
|
return sprintf(gettext("template %s not found"),
|
||||||
htmllink($params{page}, $params{destpage}, "/".$template_page))
|
htmllink($params{page}, $params{destpage}, "/".$template_page))
|
||||||
|
|
Loading…
Reference in New Issue