diff options
| author | Jonas Kohl | 2024-10-17 10:56:01 +0200 | 
|---|---|---|
| committer | Jonas Kohl | 2024-10-17 10:56:01 +0200 | 
| commit | fe0f414dc0211a4014581dc03fcfd514ed7ed02d (patch) | |
| tree | cd86fc00cd9b7a97eabb9668e0a39e2b4b3e5357 /src/application/views/form_delete_topic_confirm.php | |
| parent | e0e89b9fdbf301e0ead944636023947a67aca57d (diff) | |
Transition templating to Twig
Diffstat (limited to 'src/application/views/form_delete_topic_confirm.php')
| -rw-r--r-- | src/application/views/form_delete_topic_confirm.php | 24 | 
1 files changed, 0 insertions, 24 deletions
diff --git a/src/application/views/form_delete_topic_confirm.php b/src/application/views/form_delete_topic_confirm.php deleted file mode 100644 index 4f9deec..0000000 --- a/src/application/views/form_delete_topic_confirm.php +++ /dev/null @@ -1,24 +0,0 @@ -<div class="panel panel-danger"> -    <div class="panel-heading"> -        <h3 class="panel-title"><?= __("Do you want to delete this topic?") ?></h3> -    </div> -    <div class="panel-body"> -        <?= __("Are you sure you want to delete the topic <em>%topic%</em> including <strong>all posts and attachments</strong>?", [ -            "topic" => htmlentities($topic->title), -        ]) ?> -    </div> -    <div class="panel-footer"> -        <div class="text-right"> -            <form action="." method="get" class="seamless-inline"> -                <input type="hidden" name="_action" value="viewtopic"> -                <input type="hidden" name="topic" value="<?= htmlentities($topic->id) ?>"> -                <button class="btn btn-default"><?= __("Keep topic") ?></button> -            </form> -            <form action="?_action=deletetopic" method="post" class="seamless-inline"> -                <input type="hidden" name="topic" value="<?= htmlentities($topic->id) ?>"> -                <input type="hidden" name="confirm" value="<?= htmlentities(base64_encode(hash("sha256", "confirm" . $topic->id, true))); ?>"> -                <button class="btn btn-danger"><?= __("Delete topic & posts") ?></button> -            </form> -        </div> -    </div> -</div>  |