<xen:require css="quick_reply.css" />
<xen:require js="js/xenforo/discussion.js" />
<div class="quickReply message sectionMain">
<xen:include template="message_user_info">
<xen:map from="$visitor" to="$user" />
<xen:set var="$isQuickReply">1</xen:set>
</xen:include>
<form action="{xen:escape $formAction, false}" method="post" class="AutoValidator blendedEditor" data-optInOut="OptIn" id="QuickReply">
{xen:raw $qrEditor}
<div class="submitUnit">
<div class="draftUpdate">
<span class="draftSaved">{xen:phrase draft_saved}</span>
<span class="draftDeleted">{xen:phrase draft_deleted}</span>
</div>
<xen:if is="{$xenOptions.multiQuote} AND {$multiQuoteAction}"><input type="button" class="button JsOnly MultiQuoteWatcher insertQuotes" id="MultiQuote"
value="{xen:phrase insert_quotes}..."
tabindex="1"
data-href="{xen:escape $multiQuoteAction, false}"
{xen:if $multiQuoteCookie, 'data-mq-cookie="{$multiQuoteCookie}"'}
data-add="{xen:phrase multiquote_add}"
data-add-message="{xen:phrase multiquote_add_message}"
data-remove="{xen:phrase multiquote_remove}"
data-remove-message="{xen:phrase multiquote_remove_message}"
data-cacheOverlay="false" /></xen:if>
<input type="submit" class="button primary" value="{xen:phrase post_reply}" accesskey="s" />
<xen:include template="attachment_upload_button" />
<xen:if is="{$showMoreOptions}"><input type="submit" class="button DisableOnSubmit" value="{xen:phrase more_options}..." name="more_options" /></xen:if>
</div>
<xen:if is="{$attachmentParams}">
<xen:include template="attachment_editor">
<xen:set var="$attachments" value="{$attachmentParams.attachments}" />
</xen:include>
</xen:if>
<input type="hidden" name="last_date" value="{$lastDate}" data-load-value="{$lastDate}" />
<input type="hidden" name="last_known_date" value="{$lastKnownDate}" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</div>