web/data/cubicweb.fckcwconfig.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 24 Jun 2013 14:53:19 +0200
changeset 9042 6cc13a0a9145
parent 8040 fca7fc7f5db8
permissions -rw-r--r--
[dbapi] makes anonymous_connection a computed property The current implementation is a boolean flag set manually by client code after connection creation. This led to different way to decide a anonymous_connection should be True (eg. different in the test than in the actual application code). It should not be client responsibility to set this flag. ``cnx.anonymous_connection`` is now a purely computed property. Connection with user in the "guests" group are anonymous, the other ain't. ``Session.anonymous_session`` is computed from ``cnx.anonymous_connection`` and get the updated behavior transparently. Closes #2953943


FCKConfig.AutoDetectLanguage    = false ;

FCKConfig.ToolbarSets["Default"] = [
['Bold','Italic','Underline'],
['OrderedList','UnorderedList'],
['Link'],
['Table']
] ;
// 'Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','Form',
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'] ;

FCKConfig.LinkUpload = false ;
FCKConfig.LinkBrowser = false ;
FCKConfig.ImageUpload = false ;
FCKConfig.ImageBrowser = false ;
FCKConfig.FlashUpload = false ;
FCKConfig.FlashBrowser = false ;