Switch to ckeditor by default

This commit is contained in:
Laurent Destailleur 2011-04-22 23:18:25 +00:00
parent c4811cb9d4
commit 9052a83f17

View File

@ -194,7 +194,7 @@ class Conf
} }
$i++; $i++;
} }
// Sharings between entities // Sharings between entities
if (isset($this->multicompany->enabled) && $this->multicompany->enabled && ! empty($multicompany_sharing)) if (isset($this->multicompany->enabled) && $this->multicompany->enabled && ! empty($multicompany_sharing))
{ {
@ -202,7 +202,7 @@ class Conf
if ($ret) if ($ret)
{ {
$mc = new ActionsMulticompany($db); $mc = new ActionsMulticompany($db);
foreach($multicompany_sharing as $key => $value) foreach($multicompany_sharing as $key => $value)
{ {
$this->entities[$key]=$mc->check_entity($value); $this->entities[$key]=$mc->check_entity($value);
@ -367,7 +367,7 @@ class Conf
if (empty($this->global->MAIN_GRAPH_LIBRARY)) $this->global->MAIN_GRAPH_LIBRARY = 'artichow'; if (empty($this->global->MAIN_GRAPH_LIBRARY)) $this->global->MAIN_GRAPH_LIBRARY = 'artichow';
if (! isset($this->global->MAIN_MAIL_EMAIL_INLINE_IMAGES)) $this->global->MAIN_MAIL_EMAIL_INLINE_IMAGES=1; if (! isset($this->global->MAIN_MAIL_EMAIL_INLINE_IMAGES)) $this->global->MAIN_MAIL_EMAIL_INLINE_IMAGES=1;
if (! isset($this->global->FCKEDITOR_EDITORNAME)) $this->global->FCKEDITOR_EDITORNAME='fckeditor'; // ckeditor to switch if (! isset($this->global->FCKEDITOR_EDITORNAME)) $this->global->FCKEDITOR_EDITORNAME='ckeditor'; // fckeditor to switch
// Format for date (used by default when not found or searched in lang) // Format for date (used by default when not found or searched in lang)
$this->format_date_short="%d/%m/%Y"; # Format of day with PHP/C tags (strftime functions) $this->format_date_short="%d/%m/%Y"; # Format of day with PHP/C tags (strftime functions)