summaryrefslogtreecommitdiff
path: root/templates/mod/new_pm.html
diff options
context:
space:
mode:
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>