mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 08:50:59 +01:00
23 lines
508 B
HTML
23 lines
508 B
HTML
|
{#{% if id == mod.id %}
|
||
|
{% set username = 'me' %}
|
||
|
{% endif %}#}
|
||
|
|
||
|
<form action="" 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"></textarea></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p style="text-align:center"><input type="submit" value="Send message"></p>
|
||
|
</form>
|