From 8e5489846d5d9e87186b7a449227e18183489ddc Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Wed, 4 Apr 2012 23:35:07 -0400 Subject: update the dispy* templates Signed-off-by: Simon L'nu --- view/theme/dispy-dark/jot-header.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/theme/dispy-dark/jot-header.tpl') diff --git a/view/theme/dispy-dark/jot-header.tpl b/view/theme/dispy-dark/jot-header.tpl index 92eccf740..5838729cc 100644 --- a/view/theme/dispy-dark/jot-header.tpl +++ b/view/theme/dispy-dark/jot-header.tpl @@ -9,6 +9,7 @@ function initEditor(cb) { if(plaintext == 'none') { $("#profile-jot-text-loading").hide(); $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); + $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; $("a#jot-perms-icon").fancybox({ 'transitionIn' : 'elastic', @@ -30,6 +31,7 @@ function initEditor(cb) { theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "center", theme_advanced_blockformats : "blockquote,code", + gecko_spellcheck : true, paste_text_sticky : true, entity_encoding : "raw", add_unload_trigger : false, @@ -296,7 +298,6 @@ function enableOnUser(){ } - function jotClearLocation() { $('#jot-coord').val(''); $('#profile-nolocation-wrapper').hide(); -- cgit v1.2.3 From 6b46fe3dfeeae89e00991d8e8f8d9ec0dadbb5bc Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Fri, 13 Apr 2012 19:30:07 -0400 Subject: neat little changes. hopefully the shadow will be well recieved Signed-off-by: Simon L'nu --- view/theme/dispy-dark/jot-header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme/dispy-dark/jot-header.tpl') diff --git a/view/theme/dispy-dark/jot-header.tpl b/view/theme/dispy-dark/jot-header.tpl index 5838729cc..44120da40 100644 --- a/view/theme/dispy-dark/jot-header.tpl +++ b/view/theme/dispy-dark/jot-header.tpl @@ -36,7 +36,7 @@ function initEditor(cb) { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, + force_p_newlines : true, force_br_newlines : true, forced_root_block : '', convert_urls: false, -- cgit v1.2.3 From d836be1dc3dfee6f969fab0c03094af8b44dd697 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Sun, 15 Apr 2012 02:13:36 -0400 Subject: fix fpostJS, add and fix some other stuff Signed-off-by: Simon L'nu --- view/theme/dispy-dark/jot-header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme/dispy-dark/jot-header.tpl') diff --git a/view/theme/dispy-dark/jot-header.tpl b/view/theme/dispy-dark/jot-header.tpl index 44120da40..5838729cc 100644 --- a/view/theme/dispy-dark/jot-header.tpl +++ b/view/theme/dispy-dark/jot-header.tpl @@ -36,7 +36,7 @@ function initEditor(cb) { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : true, + force_p_newlines : false, force_br_newlines : true, forced_root_block : '', convert_urls: false, -- cgit v1.2.3 From 6a2f0eb475356ebe946a499a7a8bdee487b7ff32 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Sun, 15 Apr 2012 03:18:55 -0400 Subject: REALLY fix fpostit this time Signed-off-by: Simon L'nu --- view/theme/dispy-dark/jot-header.tpl | 1 - 1 file changed, 1 deletion(-) (limited to 'view/theme/dispy-dark/jot-header.tpl') diff --git a/view/theme/dispy-dark/jot-header.tpl b/view/theme/dispy-dark/jot-header.tpl index 5838729cc..c55ac503a 100644 --- a/view/theme/dispy-dark/jot-header.tpl +++ b/view/theme/dispy-dark/jot-header.tpl @@ -346,4 +346,3 @@ function enableOnUser(){ } - -- cgit v1.2.3 From 4fd1a17f0662d089d2d729aabdf04a883464ab05 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Thu, 19 Apr 2012 12:54:53 -0400 Subject: tweak drop-down and add in filebrowser Signed-off-by: Simon L'nu --- view/theme/dispy-dark/jot-header.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/theme/dispy-dark/jot-header.tpl') diff --git a/view/theme/dispy-dark/jot-header.tpl b/view/theme/dispy-dark/jot-header.tpl index c55ac503a..ab15f9516 100644 --- a/view/theme/dispy-dark/jot-header.tpl +++ b/view/theme/dispy-dark/jot-header.tpl @@ -24,7 +24,7 @@ function initEditor(cb) { mode : "specific_textareas", editor_selector: $editselect, auto_focus: "profile-jot-text", - plugins : "bbcode,paste,fullscreen,autoresize", + plugins : "bbcode,paste,fullscreen,autoresize,inlinepopups", theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", @@ -42,6 +42,7 @@ function initEditor(cb) { convert_urls: false, content_css: "$baseurl/view/custom_tinymce.css", theme_advanced_path : false, + file_browser_callback : "fcFileBrowser", setup : function(ed) { cPopup = null; ed.onKeyDown.add(function(ed,e) { -- cgit v1.2.3