summaryrefslogtreecommitdiff
path: root/templates/mod
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-19 22:40:11 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-19 22:40:11 +1000
commit4891eae24eac73328ecdc9eb9c5c8a4ab1e9c346 (patch)
tree4b75f1d57e9fe081822fb816ef5dc0d81c37e3a9 /templates/mod
parent2de20b7e0a40785e869123478f47a3f747628272 (diff)
added filter/purge controls to ?/debug/antispam
Diffstat (limited to 'templates/mod')
-rw-r--r--templates/mod/debug/antispam.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/templates/mod/debug/antispam.html b/templates/mod/debug/antispam.html
index c3e70859..99331ed3 100644
--- a/templates/mod/debug/antispam.html
+++ b/templates/mod/debug/antispam.html
@@ -19,7 +19,9 @@
{% else %}
-
{% endif %}</td>
- <td>{{ hash.hash }}</td>
+ <td>
+ <small>{{ hash.hash|upper }}</small>
+ </td>
<td>
<span title="{{ hash.created|date(config.post_date) }}">{{ hash.created|ago }} ago</span>
</td>
@@ -40,3 +42,24 @@
Total: <strong>{{ total }}</strong> (<strong>{{ expiring }}</strong> set to expire)
</p>
+<form method="post" action="?/debug/antispam">
+ <table class="modlog" style="width:1%;white-space:nowrap;margin:auto">
+ <tr>
+ <th>Board</th>
+ <th>Thread</th>
+ <th></th>
+ </tr>
+ <tr>
+ <td>
+ <input type="text" name="board" style="width:90px" value="{{ board }}">
+ </td>
+ <td>
+ <input type="text" name="thread" style="width:90px" value="{{ thread }}">
+ </td>
+ <td>
+ <input type="submit" name="filter" value="Filter">
+ <input type="submit" name="purge" value="Purge">
+ </td>
+ </tr>
+ </table>
+</form>