mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
if kama is choosen as skin, use monocolor; kama-skin seems not be fully compatible with ckeditor requirements on skins; next ckeditor update will remove kama skin
This commit is contained in:
parent
f203703e42
commit
a50810f9a6
@ -170,21 +170,18 @@ class egw_ckeditor_config
|
||||
//Convert old fckeditor skin names to new ones
|
||||
switch ($skin)
|
||||
{
|
||||
case 'silver':
|
||||
case 'office2003':
|
||||
case 'moono':
|
||||
$skin = "moono";
|
||||
break;
|
||||
case 'silver':
|
||||
case 'office2003':
|
||||
case 'kama':
|
||||
case 'default':
|
||||
$skin = "kama";
|
||||
// firefox and msie fail on kama skin
|
||||
if (!(html::$user_agent == 'firefox' || html::$user_agent == 'msie')) break;
|
||||
case 'moonocolor':
|
||||
$skin = "moonocolor";
|
||||
break;
|
||||
default:
|
||||
$skin = "kama";
|
||||
$skin = "moonocolor";
|
||||
}
|
||||
|
||||
//Check whether the skin actually exists, if not, switch to a default
|
||||
|
Loading…
Reference in New Issue
Block a user