Commit | Line | Data |
---|---|---|
ed3f188f AE |
1 | <textarea name="content[{@$languageID}]" id="content{@$languageID}">{if !$content[$languageID]|empty}{$content[$languageID]}{/if}</textarea> |
2 | {if $pageType == 'text'} | |
3 | {capture assign='wysiwygSelector'}content{@$languageID}{/capture} | |
4 | ||
5 | {include file='wysiwyg' wysiwygSelector=$wysiwygSelector} | |
6 | {elseif $pageType == 'html'} | |
7 | {capture assign='codemirrorSelector'}#content{@$languageID}{/capture} | |
8 | ||
9 | {include file='codemirror' codemirrorMode='htmlmixed' codemirrorSelector=$codemirrorSelector} | |
10 | {elseif $pageType == 'tpl'} | |
11 | {capture assign='codemirrorSelector'}#content{@$languageID}{/capture} | |
12 | ||
13 | {include file='codemirror' codemirrorMode='smartymixed' codemirrorSelector=$codemirrorSelector} | |
14 | {/if} |