summaryrefslogtreecommitdiff
path: root/src/application/templates/old/delete_topic.twig
diff options
context:
space:
mode:
authorJonas Kohl2024-12-10 17:15:10 +0100
committerJonas Kohl2024-12-10 17:15:10 +0100
commit7d685c5e64149e20c7dc8977f645e050be53ddfd (patch)
tree44a931c23979aaa2e22b079f8af9232f490eb4d3 /src/application/templates/old/delete_topic.twig
parent7c9f91333da983da37d3dc837fa61ef0bff64549 (diff)
Add classic theme
Diffstat (limited to 'src/application/templates/old/delete_topic.twig')
-rw-r--r--src/application/templates/old/delete_topic.twig36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/application/templates/old/delete_topic.twig b/src/application/templates/old/delete_topic.twig
new file mode 100644
index 0000000..59d2a02
--- /dev/null
+++ b/src/application/templates/old/delete_topic.twig
@@ -0,0 +1,36 @@
+{% set title = __("Delete topic") %}
+
+{% extends "base.twig" %}
+
+{% block content %}
+
+<table border="1" bordercolor="silver" cellspacing="0" cellpadding="4" width="100%">
+ <tr>
+ <td bgcolor="pink">
+ <h3 class="m-0"><font color="red">{{ __("Do you want to delete this topic?") }}</font></h3>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {{ __("Are you sure you want to delete the topic <em>%topic%</em> including <strong>all posts and attachments</strong>?", {
+ "topic": ctx.topic.title|e("html"),
+ }) }}
+ </td>
+ </tr>
+ <tr>
+ <td class="text-right">
+ <form action="?_action=deletetopic" method="post" class="inline">
+ <input type="hidden" name="topic" value="{{ ctx.topic.id }}">
+ <input type="hidden" name="confirm" value="{{ ("confirm" ~ ctx.topic.id)|hash("sha256", true)|base64_encode }}">
+ <button><font color="red"><b>{{ __("Delete topic &amp; posts") }}</b></font></button>
+ </form>
+ <form action="." method="get" class="inline">
+ <input type="hidden" name="_action" value="viewtopic">
+ <input type="hidden" name="topic" value="{{ ctx.topic.id }}">
+ <button>{{ __("Keep topic") }}</button>
+ </form>
+ </td>
+ </tr>
+</table>
+
+{% endblock %}