* This page lets the user view a post and all its replies.
*/
class ViewPostPage(template: Template, webInterface: WebInterface):
- SoneTemplatePage("viewPost.html", template, "Page.ViewPost.Title", webInterface, false) {
+ SoneTemplatePage("viewPost.html", webInterface, template, "Page.ViewPost.Title") {
override fun handleRequest(freenetRequest: FreenetRequest, templateContext: TemplateContext) {
templateContext["post"] = freenetRequest.parameters["post"]?.let(webInterface.core::getPost)