{include file='header'} {include file='formError'}

{lang}wcf.conversation.information{/lang}

{if $errorField == 'subject'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType == 'censoredWordsFound'} {lang}wcf.message.error.censoredWordsFound{/lang} {else} {lang}wcf.conversation.subject.error.{@$errorType}{/lang} {/if} {/if}
{event name='informationFields'}

{lang}wcf.conversation.participants{/lang}

{if $errorField == 'participants'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType|is_array} {foreach from=$errorType item='errorData'} {lang}wcf.conversation.participants.error.{@$errorData.type}{/lang} {/foreach} {else} {lang}wcf.conversation.participants.error.{@$errorType}{/lang} {/if} {/if} {lang}wcf.conversation.participants.description{/lang}
{if $__wcf->session->getPermission('user.conversation.canAddInvisibleParticipants')}
{if $errorField == 'invisibleParticipants'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType|is_array} {foreach from=$errorType item='errorData'} {lang}wcf.conversation.participants.error.{@$errorData.type}{/lang} {/foreach} {else} {lang}wcf.conversation.participants.error.{@$errorType}{/lang} {/if} {/if} {lang}wcf.conversation.invisibleParticipants.description{/lang}
{/if} {if $__wcf->session->getPermission('user.conversation.canSetCanInvite')}
{/if} {event name='participantFields'}

{lang}wcf.conversation.message{/lang}

{if $errorField == 'text'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType == 'tooLong'} {lang}wcf.message.error.tooLong{/lang} {elseif $errorType == 'censoredWordsFound'} {lang}wcf.message.error.censoredWordsFound{/lang} {elseif $errorType == 'disallowedBBCodes'} {lang}wcf.message.error.disallowedBBCodes{/lang} {else} {lang}wcf.conversation.message.error.{@$errorType}{/lang} {/if} {/if}
{event name='messageFields'}
{include file='messageFormTabs' wysiwygContainerID='text'} {event name='sections'}
{include file='messageFormPreviewButton' previewMessageObjectType='com.woltlab.wcf.conversation.message' previewMessageObjectID=0} {@SECURITY_TOKEN_INPUT_TAG}
{include file='wysiwyg'} {include file='footer'}