1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 08:50:59 +01:00
vichan/templates/mod/new_pm.html

23 lines
546 B
HTML
Raw Normal View History

2012-04-13 14:00:40 +02:00
{#{% if id == mod.id %}
{% set username = 'me' %}
{% endif %}#}
2012-04-16 08:40:24 +02:00
<form action="?/new_PM/{{ username|e }}" method="post">
2012-04-13 14:00:40 +02:00
<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>
2012-04-16 08:40:24 +02:00
<td><textarea name="message" rows="10" cols="40">{{ message }}</textarea></td>
2012-04-13 14:00:40 +02:00
</tr>
</table>
<p style="text-align:center"><input type="submit" value="Send message"></p>
</form>