summaryrefslogtreecommitdiff
path: root/templates/mod/new_pm.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-08-27 02:28:04 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-08-27 02:28:04 +1000
commit6a705fd8c2324b642ac6bfc660d76cff6d5eab62 (patch)
tree7f916bebf46f66ed55569ea1456686524aebc192 /templates/mod/new_pm.html
parent1dcb385e9e3791d2d3c1d049fe9b8d906539088e (diff)
parentc919e7362542117f613c2800017ae89c269a07b5 (diff)
Merge branch 'mod-rewrite'
Conflicts: inc/lib/Twig/Extensions/Extension/Tinyboard.php install.php mod.php stylesheets/style.css templates/index.html templates/page.html templates/thread.html
Diffstat (limited to 'templates/mod/new_pm.html')
-rw-r--r--templates/mod/new_pm.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/mod/new_pm.html b/templates/mod/new_pm.html
new file mode 100644
index 00000000..3fd78ac6
--- /dev/null
+++ b/templates/mod/new_pm.html
@@ -0,0 +1,18 @@
+<form action="?/new_PM/{{ username|e }}" method="post">
+ <table>
+ <tr>
+ <th>To</th>
+ {% if mod|hasPermission(config.mod.editusers) %}
+ <td><a href="?/users/{{ id }}">{{ username|e }}</a></td>
+ {% else %}
+ <td>{{ username|e }}</td>
+ {% endif %}
+ </tr>
+ <tr>
+ <th>Message</th>
+ <td><textarea name="message" rows="10" cols="40">{{ message }}</textarea></td>
+ </tr>
+ </table>
+
+ <p style="text-align:center"><input type="submit" value="{% trans 'Send message' %}"></p>
+</form>