<textarea name="{$NAME}" id="cf_{$NAME}_id" class="cf_tinymce">{$VALUE}</textarea>
<script>
cf_tinymce_settings["{$NAME}"] = {literal}{{/literal}
{if $toolbar == "basic"}
  theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,bullist,numlist",
  theme_advanced_buttons2: "",
{elseif $toolbar == "simple"}
  theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,bullist,numlist,|,outdent,indent,|,blockquote,hr,|,link,unlink,forecolorpicker,backcolorpicker",
  theme_advanced_buttons2: "",
{elseif $toolbar == "advanced"}
  theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,bullist,numlist,|,outdent,indent,|,blockquote,hr,|,undo,redo,link,unlink,|,fontselect,fontsizeselect",
  theme_advanced_buttons2: "forecolorpicker,backcolorpicker,|,sub,sup,code",
{elseif $toolbar == "expert"}
  theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,bullist,numlist,|,outdent,indent,|,blockquote,hr,|,undo,redo,link,unlink,|,formatselect,fontselect,fontsizeselect",
  theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,bullist,numlist,|,outdent,indent,|,blockquote,hr,|,undo,redo,link,unlink,|,formatselect,fontselect,fontsizeselect",
  theme_advanced_buttons2 : "undo,redo,|,forecolorpicker,backcolorpicker,|,sub,sup,|,newdocument,blockquote,charmap,removeformat,cleanup,code",
{/if}
  theme_advanced_buttons3: "",
{if $show_path == "yes"}
  theme_advanced_path_location:     "{$path_info_location}",
  theme_advanced_resizing:          {$resizing},
{/if}
  theme_advanced_resize_horizontal: false,
  theme_advanced_toolbar_location:  "{$location}",
  theme_advanced_toolbar_align:     "{$alignment}"  
{literal}}{/literal}
</script>
{if $comments}
  <div class="cf_field_comments">{$comments}</div>
{/if}
