From aba63f8b78691812cd54e4eddf192cb67b81036b Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Mar 2012 15:20:36 -0700 Subject: [PATCH] turn on gecko spellcheck in tinymce --- boot.php | 2 +- view/contact_head.tpl | 4 ++-- view/event_head.tpl | 1 + view/jot-header.tpl | 1 + view/msg-header.tpl | 1 + view/profed_head.tpl | 1 + 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 13a6f0d1df..76c0057bdd 100755 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1293' ); +define ( 'FRIENDICA_VERSION', '2.3.1294' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1133 ); diff --git a/view/contact_head.tpl b/view/contact_head.tpl index c7de390af2..a76293a687 100755 --- a/view/contact_head.tpl +++ b/view/contact_head.tpl @@ -13,8 +13,8 @@ tinyMCE.init({ theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "center", - theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle", - content_css : "bbcode.css", + theme_advanced_styles : "blockquote,code", + gecko_spellcheck : true, entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, diff --git a/view/event_head.tpl b/view/event_head.tpl index 498ac9941c..97201e7229 100755 --- a/view/event_head.tpl +++ b/view/event_head.tpl @@ -74,6 +74,7 @@ tinyMCE.init({ 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, diff --git a/view/jot-header.tpl b/view/jot-header.tpl index ef760abe0f..974e02ab4c 100755 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -32,6 +32,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, diff --git a/view/msg-header.tpl b/view/msg-header.tpl index 098333893f..49ee5905b8 100755 --- a/view/msg-header.tpl +++ b/view/msg-header.tpl @@ -16,6 +16,7 @@ if(plaintext != 'none') { 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, diff --git a/view/profed_head.tpl b/view/profed_head.tpl index e1df2c4ad7..a3267d5916 100755 --- a/view/profed_head.tpl +++ b/view/profed_head.tpl @@ -13,6 +13,7 @@ tinyMCE.init({ 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,