+++ /dev/null
-<script type="text/javascript">
-
- tinyMCE.init({\r
- // General options
- mode : "none",\r
- theme : "advanced",\r
- plugins : "pagebreak,style,layer,table,advhr,advimage,advlink,iespell,inlinepopups,media,searchreplace,print,contextmenu,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist",\r
-\r
- // Theme options\r
- theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontsizeselect",\r
- theme_advanced_buttons2 : "bullist,numlist,|blockquote,|,link,unlink,anchor,image,cleanup,help,|,hr,charmap,|,forecolor,backcolor",\r
- theme_advanced_buttons3 : "",
- theme_advanced_toolbar_location : "top",\r
- theme_advanced_toolbar_align : "left",\r
- theme_advanced_statusbar_location : "bottom",\r
- theme_advanced_resizing : true,\r
-\r
- // Example content CSS (should be your site CSS)\r
- <?php if($this->out_file_exists("css/tinymce.css")) : ?>
- content_css : "<?php echo $this->out_url("css/tinymce.css"); ?>",
- <?php endif; ?>\r
-\r
- // Drop lists for link/image/media/template dialogs\r
- template_external_list_url : "lists/template_list.js",\r
- external_link_list_url : "lists/link_list.js",\r
- external_image_list_url : "lists/image_list.js",\r
- media_external_list_url : "lists/media_list.js",\r
-
- file_browser_callback : "tinyBrowser",
-
- invalid_elements : "script",
-\r
- // Style formats\r
- style_formats : [\r
- {title : 'Bold text', inline : 'b'},\r
- {title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},\r
- {title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},\r
- {title : 'Example 1', inline : 'span', classes : 'example1'},\r
- {title : 'Example 2', inline : 'span', classes : 'example2'},\r
- {title : 'Table styles'},\r
- {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}\r
- ],\r
-\r
- // Replace values for the template plugin\r
- template_replace_values : {\r
- username : "Some User",\r
- staffid : "991234"\r
- },\r
-
- relative_urls : false,
- remove_script_host : false,
- convert_urls : true
-
- });
-
-</script>