summaryrefslogtreecommitdiff
path: root/templates/mod/new_pm.html
blob: d694bc2672123a31bacdac026956743c9bec5aee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{#{% 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>