Code: Select all
$this->smarty->assign('content', $this->CreateTextArea(true, $id, $content, 'textbox', '', 'textbox'));
Code: Select all
$this->smarty->assign('content', $this->CreateTextArea(true, $id, $content, 'textbox', '', 'textbox'));
Code: Select all
echo '
<__script__ type="text/javascript" src="modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js"></__script>
<__script__ type="text/javascript">
tinyMCE.init({
theme : "advanced",
mode : "textareas",
language : "en",
entity_encoding : "raw",
entities : " ",
apply_source_formatting : "true",
remove_trailing_nbsp : "true",
apply_source_formatting : "true",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
content_css : "example_advanced.css",
extended_valid_elements : "a[href|target|name]",
plugins : "table, paste,fullscreen",
theme_advanced_buttons1 : "cut,pastetext,pasteword,copy,|,removeformat,|,justifyleft,justifycenter,justifyright,justifyfull,|,sub,sup,|,charmap,|,code",
theme_advanced_buttons2 : "bold,italic,underline,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,charmap,|,fullscreen,visualaid",
theme_advanced_buttons3 : "tablecontrols",
width:"400px",
height:"300px"
});
</__script>';
/*,|,formatselect,fontsizeselect,|,code*/
/*|,forecolor,backcolor,*/
/*
apply_source_formatting : "true",*/