diff options
Diffstat (limited to 'src/application/actions/deletetopic/post.php')
| -rw-r--r-- | src/application/actions/deletetopic/post.php | 7 | 
1 files changed, 1 insertions, 6 deletions
| diff --git a/src/application/actions/deletetopic/post.php b/src/application/actions/deletetopic/post.php index e67cadf..8683c0f 100644 --- a/src/application/actions/deletetopic/post.php +++ b/src/application/actions/deletetopic/post.php @@ -55,13 +55,8 @@ if ($confirm !== null) {      header("Location: .");  } else { -    _view("template_start", ["_title" => "Delete topic"]); -    _view("template_navigation_start"); -    _view("template_navigation", ["user" => RequestUtils::getAuthorizedUser($db)]); -    _view("template_navigation_end"); -    _view("form_delete_topic_confirm", [ +    render("delete_topic.twig", [          "topic" => $topic,          "topicAuthor" => $topicAuthor,      ]); -    _view("template_end", [...getThemeAndLangInfo()]);  } |