aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl35
1 files changed, 35 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
new file mode 100644
index 000000000..e5607b6bb
--- /dev/null
+++ b/view/jot-header.tpl
@@ -0,0 +1,35 @@
+<script language="javascript" type="text/javascript"
+ src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+ <script language="javascript" type="text/javascript">
+
+
+tinyMCE.init({
+ theme : "advanced",
+ mode : "textareas",
+ plugins : "bbcode",
+ theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
+ theme_advanced_buttons2 : "",
+ theme_advanced_buttons3 : "",
+ theme_advanced_toolbar_location : "top",
+ theme_advanced_toolbar_align : "center",
+ theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle",
+ content_css : "bbcode.css",
+ entity_encoding : "raw",
+ add_unload_trigger : false,
+ remove_linebreaks : false,
+ content_css: "$baseurl/view/custom_tinymce.css"
+
+
+});
+</script>
+
+<!--
+
+ relative_urls: false,
+ document_base_url : "$baseurl/",
+ external_image_list_url : "$baseurl/include/imagelist-js.php",
+ content_css : "$baseurl/view/tiny.css"
+
+});
+</script>
+--> \ No newline at end of file