<textarea name="content[{@$languageID}]" id="content{@$languageID}">{if !$content[$languageID]|empty}{$content[$languageID]}{/if}</textarea>
{if $pageType == 'text'}
	{capture assign='wysiwygSelector'}content{@$languageID}{/capture}
	
	{include file='wysiwyg' wysiwygSelector=$wysiwygSelector}
{elseif $pageType == 'html'}
	{capture assign='codemirrorSelector'}#content{@$languageID}{/capture}
	
	{include file='codemirror' codemirrorMode='htmlmixed' codemirrorSelector=$codemirrorSelector}
{elseif $pageType == 'tpl'}
	{capture assign='codemirrorSelector'}#content{@$languageID}{/capture}
	
	{include file='codemirror' codemirrorMode='smartymixed' codemirrorSelector=$codemirrorSelector}
{/if}
<textarea name="content[{@$languageID}]" id="content{@$languageID}">{if !$content[$languageID]|empty}{$content[$languageID]}{/if}</textarea>
{if $pageType == 'text'}
	{include file='wysiwyg' wysiwygSelector='content'|concat:$languageID}
{elseif $pageType == 'html'}
	{include file='codemirror' codemirrorMode='htmlmixed' codemirrorSelector='#content'|concat:$languageID}
{elseif $pageType == 'tpl'}
	{include file='codemirror' codemirrorMode='smartymixed' codemirrorSelector='#content'|concat:$languageID}
{/if}

Use of `concat` instead of `{capture}`
Use of `concat` instead of `{capture}`
