| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/c/o/o/coopiak/amisdesseniors-fr/dijon/media/kunena/core/js/ |
Upload File : |
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'nl';
// config.uiColor = '#AADC6E';
// config.skin = 'moono-lisa';
if (Joomla.getOptions('com_kunena.ckeditor_userdefaultlanguage') != 'default') {
config.defaultLanguage = '' + Joomla.getOptions('com_kunena.ckeditor_userdefaultlanguage') + '';
} else {
var joomlaLanguage = Joomla.getOptions('com_kunena.ckeditor_joomladefaultlanguage');
if (joomlaLanguage != 'en') {
config.defaultLanguage = '' + joomlaLanguage + '';
}
}
config.smiley_descriptions="";
config.toolbarGroups = [
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
{ name: 'forms', groups: [ 'forms' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'social', groups: [ 'social' ] },
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'tools', groups: [ 'tools' ] },
{ name: 'others', groups: [ 'others' ] },
{ name: 'about', groups: [ 'about' ] }
];
var remove_buttons_url_image = Joomla.getOptions('com_kunena.ckeditor_remove_buttons_url_image');
if(Joomla.getOptions('com_kunena.ckeditor_buttons_configuration') !== undefined && remove_buttons_url_image===undefined)
{
config.removeButtons = 'Anchor,Paste,Styles,Format,Font,BGColor,Copy,Outdent,Indent,' + Joomla.getOptions('com_kunena.ckeditor_buttons_configuration');
}
else
{
if (remove_buttons_url_image)
{
config.removeButtons = 'Anchor,Paste,Styles,Format,Font,BGColor,Image,Link,Unlink,Copy,Outdent,Indent';
}
else
{
config.removeButtons = 'Anchor,Paste,Styles,Format,Font,BGColor,Copy,Outdent,Indent';
}
}
config.extraPlugins = 'ebay,x,instagram,map,soundcloud,video,confidential,hidetext,spoiler,code,polls,blockimagepaste';
var emoticons = Joomla.getOptions('com_kunena.ckeditor_emoticons');
var obj = jQuery.parseJSON( emoticons );
var list_emoticons = [];
jQuery.each(obj, function( index, value ) {
list_emoticons.push(value);
});
if (Joomla.getOptions('com_kunena.ckeditor_subfolder')!==undefined)
{
config.smiley_path = Joomla.getOptions('com_kunena.ckeditor_subfolder')+'/media/kunena/emoticons/';
}
else
{
config.smiley_path = '/media/kunena/emoticons/';
}
config.smiley_images = list_emoticons;
config.linkDefaultProtocol= 'https://'
// Define font sizes in percent values.
config.fontSize_sizes= "50/50%;85/85%;100/100%;150/150%;200/200%";
// Set the skin if it's defined in the params settings of the template
if (Joomla.getOptions('com_kunena.ckeditor_skiname') !== null)
{
config.skin = Joomla.getOptions('com_kunena.ckeditor_skiname');
}
// Disable SpellChecker from Ckeditor to let the brower handle it
config.disableNativeSpellChecker = false;
};