<!-- INCLUDE mcp_header.html -->

<form method="post" id="mcp" action="{U_POST_ACTION}">

<h2>{L_WARN_USER}</h2>

<div class="panel">
	<div class="inner">

	<h3>{USERNAME_FULL}</h3>

	<div>
		<div class="column1">
			{% include 'avatar.html' with {'avatar_data': USER_AVATAR} only %}
		</div>

		<div class="column2">
			<dl class="details">
				<!-- IF RANK_TITLE --><dt>{L_RANK}{L_COLON}</dt><dd>{RANK_TITLE}</dd><!-- ENDIF -->
				{% if RANK_IMG %}<dt>{% if RANK_TITLE %}&nbsp;{% else %}{{ lang('RANK') ~ lang('COLON') }}{% endif %}</dt><dd class="rank-img">{{ RANK_IMG }}</dd>{% endif %}
				<dt>{L_JOINED}{L_COLON}</dt><dd>{JOINED}</dd>
				<dt>{L_TOTAL_POSTS}{L_COLON}</dt><dd>{POSTS}</dd>
				<dt>{L_WARNINGS}{L_COLON} </dt><dd>{WARNINGS}</dd>
			</dl>
		</div>
	</div>

	</div>
</div>

<!-- EVENT mcp_warn_user_add_warning_field_before -->

<div class="panel">
	<div class="inner">

	<h3>{L_ADD_WARNING}</h3>
	<p>{L_ADD_WARNING_EXPLAIN}</p>

	<fieldset>
		<textarea name="warning" id="warning" class="inputbox" cols="40" rows="3"></textarea>
		<!-- IF S_CAN_NOTIFY -->
		<br /><br />
		<dl class="panel">
			<dt>&nbsp;</dt>
			<dd><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label></dd>
		</dl>
		<!-- ENDIF -->
	</fieldset>

	</div>
</div>

<!-- EVENT mcp_warn_user_add_warning_field_after -->

<fieldset class="submit-buttons">
	<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1 button button-form" />
	{S_FORM_TOKEN}
</fieldset>
</form>

<!-- INCLUDE mcp_footer.html -->
