summaryrefslogtreecommitdiff
path: root/templates/mod/pm.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-16 16:40:24 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-16 16:40:24 +1000
commitad55a634bf3f9301489f5371942c73940361a24c (patch)
tree3d6120b26158942bade96f8d96cbc4c668e21eed /templates/mod/pm.html
parentfb3e8191328c12bc1ab5bce8a3aef58582ee1a64 (diff)
various improvements
Diffstat (limited to 'templates/mod/pm.html')
-rw-r--r--templates/mod/pm.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/mod/pm.html b/templates/mod/pm.html
new file mode 100644
index 00000000..511bcfef
--- /dev/null
+++ b/templates/mod/pm.html
@@ -0,0 +1,41 @@
+<form action="" method="post">
+ <table>
+ <tr>
+ <th>From</th>
+ {% if username %}
+ <td><a href="?/new_PM/{{ username|e }}">{{ username|e }}</a></td>
+ {% else %}
+ <td><em>deleted?</em></td>
+ {% endif %}
+ </tr>
+ {% if to != mod.id %}
+ <tr>
+ <th>To</th>
+ {% if to_username %}
+ <td><a href="?/new_PM/{{ to_username|e }}">{{ to_username|e }}</a></td>
+ {% else %}
+ <td><em>deleted?</em></td>
+ {% endif %}
+ </tr>
+ {% endif %}
+ <tr>
+ <th>Date</th>
+ <td>{{ time|date(config.post_date) }}</td>
+ </tr>
+ <tr>
+ <th>Message</th>
+ <td>{{ message }}</td>
+ </tr>
+ </table>
+
+ <ul style="list-style:none;text-align:center;padding:0">
+ <li style="padding:5px 0">
+ <input type="submit" name="delete" value="Delete forever">
+ </li>
+ <li style="padding:5px 0">
+ <a href="?/PM/{{ id }}/reply">
+ Reply with quote
+ </a>
+ </li>
+ </ul>
+</form>