1 <script language="javascript" type="text/javascript"
2 src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
3 <script language="javascript" type="text/javascript">
7 mode : "specific_textareas",
8 editor_selector: "profile-jot-text",
10 theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
11 theme_advanced_buttons2 : "",
12 theme_advanced_buttons3 : "",
13 theme_advanced_toolbar_location : "top",
14 theme_advanced_toolbar_align : "center",
15 theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle",
16 content_css : "bbcode.css",
17 entity_encoding : "raw",
18 add_unload_trigger : false,
19 remove_linebreaks : false,
20 content_css: "$baseurl/view/custom_tinymce.css"
24 <script type="text/javascript" src="include/ajaxupload.js" ></script>
26 $(document).ready(function() {
27 var uploader = new window.AjaxUpload(
29 { action: 'wall_upload',
31 onSubmit: function(file,ext) { $('#profile-rotator').show(); },
32 onComplete: function(file,response) {
33 tinyMCE.execCommand('mceInsertRawHTML',false,response);
34 $('#profile-rotator').hide();
42 function jotGetLink() {
43 reply = prompt("Please enter a link URL:");
44 if(reply && reply.length) {
45 $('#profile-rotator').show();
46 $.get('parse_url?url=' + reply, function(data) {
47 tinyMCE.execCommand('mceInsertRawHTML',false,data);
48 $('#profile-rotator').hide();
59 document_base_url : "$baseurl/",
60 external_image_list_url : "$baseurl/include/imagelist-js.php",
61 content_css : "$baseurl/view/tiny.css"