This call is only present to handle the case where previewing a page
actually causes files to be rendered.
linkify($page, "",
preprocess($page, $page,
filter($page, $page, $content), 0, 1))));
linkify($page, "",
preprocess($page, $page,
filter($page, $page, $content), 0, 1))));
+ # previewing may have created files on disk
+ saveindex();
}
elsif ($form->submitted eq "Save Page") {
$form->tmpl_param("page_preview", "");
}
elsif ($form->submitted eq "Save Page") {
$form->tmpl_param("page_preview", "");
}
showform($form, \@buttons, $session, $q);
}
showform($form, \@buttons, $session, $q);