{capture assign='pageTitle'}{lang}clan.thread.{if $action == 'threadAdd'}add{else}edit{/if}{/lang}{/capture} {capture assign='contentHeader'}

{lang}clan.thread.{if $action == 'threadAdd'}add{else}edit{/if}{/lang}

{/capture} {include file='header'} {include file='formError'}
{if $board->getClan()->checkPermission('canPinThreads')}

{lang}clan.thread.type{/lang}

{/if}

{lang}clan.add.informations{/lang}

{include file='messageFormMultilingualism'} {if $labelGroups|is_array && $labelGroups|count} {foreach from=$labelGroups item=labelGroup} {if $labelGroup|count} groupID]|isset} class="formError"{/if}>
{if $errorField == 'label' && $errorType[$labelGroup->groupID]|isset} {if $errorType[$labelGroup->groupID] == 'missing'} {lang}wcf.label.error.missing{/lang} {else} {lang}wcf.label.error.invalid{/lang} {/if} {/if}
{/if} {/foreach} {/if}
{if $errorField == 'subject'} {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {elseif $errorType == 'censoredWordsFound'} {lang}wcf.message.error.censoredWordsFound{/lang} {else} {lang}clan.error.thread.{@$errorType}{/lang} {/if} {/if}
{if MODULE_TAGGING}{include file='tagInput'}{/if} {event name='informationFields'}

{lang}clan.post.message{/lang}

{include file='wysiwyg' wysiwygSelector='text'} {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}clan.errorpost.{@$errorType}{/lang} {/if} {/if}
{event name='messageFields'}
{include file='messageFormTabs' wysiwygContainerID='text'} {event name='fieldsets'}
{@SECURITY_TOKEN_INPUT_TAG}
{include file='footer'}