diff options
| author | czaks <marcin@6irc.net> | 2013-11-11 21:54:35 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-11-11 21:54:35 +0100 |
| commit | f5657caf24753ed7c25d56659ae8dfe79d48b99a (patch) | |
| tree | 989f1149070194f18f6250c851159dda813151fe /templates/mod/noticeboard.html | |
| parent | 0a58973631626879abeea4956b33cc2b56dea453 (diff) | |
| parent | 9fb63b053fbb552a2a8bbde1e230a8b73296fb6d (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
inc/config.php
install.php
post.php
stylesheets/style.css
Diffstat (limited to 'templates/mod/noticeboard.html')
| -rw-r--r-- | templates/mod/noticeboard.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/mod/noticeboard.html b/templates/mod/noticeboard.html index 463b8430..fc2e0aef 100644 --- a/templates/mod/noticeboard.html +++ b/templates/mod/noticeboard.html @@ -1,7 +1,8 @@ {% if mod|hasPermission(config.mod.noticeboard_post) %} <fieldset> <legend>{% trans 'New post' %}</legend> - <form style="margin:0" action="" method="post"> + <form style="margin:0" action="?/noticeboard" method="post"> + <input type="hidden" name="token" value="{{ token }}"> <table> <tr> <th>{% trans 'Name' %}</th> @@ -27,7 +28,7 @@ <div class="ban"> {% if mod|hasPermission(config.mod.noticeboard_delete) %} <span style="float:right;padding:2px"> - <a class="unimportant" href="?/noticeboard/delete/{{ post.id }}">[{% trans 'delete' %}]</a> + <a class="unimportant" href="?/noticeboard/delete/{{ post.id }}/{{ post.delete_token }}">[{% trans 'delete' %}]</a> </span> {% endif %} <h2 id="{{ post.id }}"> |
