summaryrefslogtreecommitdiff
path: root/templates/edit_textarea.tpl
blob: 1f7925f4f117730be7c2bb8650a9128407bef382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{strip}
	{if !$textarea_noformat}
		{include file="bitpackage:liberty/edit_format.tpl"}
	{/if}

	{if $gBitSystem->isFeatureActive('package_smileys')}
		{include file="bitpackage:smileys/smileys_full.tpl"}
	{/if}

	{if $gBitSystem->isFeatureActive('package_quicktags')}
		{include file="bitpackage:quicktags/quicktags_full.tpl"}
	{/if}

	<div class="row">
		{formlabel label=$textarea_label for=$textarea_id}
		{forminput}
			<textarea {$textarea_class} {$textarea_attributes} {spellchecker width=$cols height=$rows} id="{$textarea_id|default:$smarty.const.LIBERTY_TEXT_AREA}" name="{$textarea_name|default:edit}" {$textarea_style}>{$textarea_data|escape:html}</textarea>
			{formhelp note=$textarea_help}
			{if $gBitSystem->isPackageActive('fckeditor') &&
				($gBitSystem->isFeatureActive("fckeditor_ask") || 
				$gBitSystem->isFeatureActive("fckeditor_on_click"))}
				{formhelp note="Click in the textarea to activate the editor."}
			{/if}
		{/forminput}
	</div>
{/strip}