summaryrefslogtreecommitdiff
path: root/src/application/templates/old/delete_topic.twig
diff options
context:
space:
mode:
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 %}