lainchan/templates/mod/new_pm.html
2012-04-16 16:40:24 +10:00

23 lines
546 B
HTML

{#{% if id == mod.id %}
{% set username = 'me' %}
{% endif %}#}
<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="Send message"></p>
</form>