return $content;
}
-sub indexlink () {
- return "<a href=\"$config{url}\">$config{wikiname}</a>";
-}
-
sub check_canedit ($$$;$) {
my $page=shift;
my $q=shift;
my $title=shift;
my $content=shift;
- my $template=template("misc.tmpl") || template("page.tmpl");
+ my $template=template("page.tmpl");
run_hooks(pagetemplate => sub {
shift->(page => "", destpage => "", template => $template);
});
$template->param(
+ dynamic => 1,
+ have_actions => 0, # force off
title => $title,
wikiname => $config{wikiname},
content => $content,
baseurl => baseurl(),
html5 => $config{html5},
- have_actions => 0, # force off
- parentlinks => [{ # override
- url => $config{url},
- page => $config{wikiname},
- }],
@_,
);