hook(type => "refresh", id => "recentchanges", call => \&refresh);
hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate);
hook(type => "htmlize", id => "_change", call => \&htmlize);
hook(type => "refresh", id => "recentchanges", call => \&refresh);
hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate);
hook(type => "htmlize", id => "_change", call => \&htmlize);
$f->field(name => "sid", type => "hidden", value => $session->id,
force => 1);
$f->field(name => "do", type => "hidden", value => "revert", force => 1);
$f->field(name => "sid", type => "hidden", value => $session->id,
force => 1);
$f->field(name => "do", type => "hidden", value => "revert", force => 1);
$form->title(sprintf(gettext("confirm reversion of %s"), $rev));
my $patch_contents = IkiWiki::rcs_showpatch($rev);
$form->tmpl_param(patch_contents => encode_entities($patch_contents));
$form->title(sprintf(gettext("confirm reversion of %s"), $rev));
my $patch_contents = IkiWiki::rcs_showpatch($rev);
$form->tmpl_param(patch_contents => encode_entities($patch_contents));
IkiWiki::showform($form, $buttons, $session, $q);
exit 0;
}
IkiWiki::showform($form, $buttons, $session, $q);
exit 0;
}