mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-22 20:35:54 +01:00
19 lines
494 B
HTML
19 lines
494 B
HTML
<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>
|