ccm-forum, incorporating:

r1630 | chrisg23 | 2007-09-17 10:28:18 +0200 (Mo, 17 Sep 2007) | 1 line

Added:
   A /trunk/ccm-core/web/assets/fckeditor/config/fckconfig_forum.js

FCK Config for forum application - disables browsing of server file system or aplaws content centre when addign a link as this may be used by public - to use this, need to specify com.arsdigita.forum.use_wysiwyg_editor=true. If HTML Area is set as your editor, then browsing is already disabled for forum in the foorum code. If you have set FCK as your editor then this config will be used.


git-svn-id: https://svn.libreccm.org/ccm/trunk@11 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2008-02-15 12:20:10 +00:00
parent 2b96cb3e5d
commit 3e36ba6eea
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Custom amendments for Forum application.
*/
FCKConfig.FillEmptyBlocks = false ;
FCKConfig.ToolbarSets["Basic"] = [
['Source','-','Preview','-'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print'],
'/',
['OrderedList','UnorderedList','-','Outdent','Indent'],
['Link','Unlink'],
['Undo','Redo','-','SelectAll'],
['TextColor','BGColor'],
['Rule','SpecialChar','Smiley'],
'/',
['FontFormat','FontName','FontSize']
] ;
//only licenced for private use
//FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages'
//FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ;
FCKConfig.LinkUpload = false ;
FCKConfig.LinkBrowser = false ; // forum - don't allow users to browse content centre or server file system
FCKConfig.ImageBrowser = false ;
FCKConfig.FlashBrowser = false ;
FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;