<?php
if (!isset($teaser)) $teaser = NULL;
print "
<div class='form-row'>
	<label for='teaser_textarea' class='form-label textarea'>".LABEL_TEASER."</label>
	<div class='form-cols'>
		<div class='form-col form-full'>
			<div class='form-controls'>
				<ul class='textarea-panel'>
					<li class='show_default-editor current' data-id='teaser'><i class='material-icons md-24'>edit</i>".LABEL_DEFAULT_EDITOR."</li>
					<li class='show_richtext-editor' data-id='teaser'><i class='material-icons md-24'>wysiwyg</i>".LABEL_RICHTEXT_EDITOR."</li>
					<li class='show_code-editor' data-id='teaser'><i class='material-icons md-24'>code</i>".LABEL_CODE_EDITOR."</li>
				</ul>
				<textarea name='teaser' class='field' id='teaser_textarea' data-mode='html' data-autocomplete='true'>".$teaser."</textarea>
				<div id='teaser' class='code-editor'></div>
			</div><!-- /.form-controls -->
		</div><!-- /.form-col -->
	</div><!-- /.form-cols -->
</div><!-- /.form-row -->";