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:
Klaus Leithoff 2014-05-22 10:01:31 +00:00
parent f203703e42
commit a50810f9a6

View File

@ -170,21 +170,18 @@ class egw_ckeditor_config
//Convert old fckeditor skin names to new ones //Convert old fckeditor skin names to new ones
switch ($skin) switch ($skin)
{ {
case 'silver':
case 'office2003':
case 'moono': case 'moono':
$skin = "moono"; $skin = "moono";
break; break;
case 'silver':
case 'office2003':
case 'kama': case 'kama':
case 'default': case 'default':
$skin = "kama";
// firefox and msie fail on kama skin
if (!(html::$user_agent == 'firefox' || html::$user_agent == 'msie')) break;
case 'moonocolor': case 'moonocolor':
$skin = "moonocolor"; $skin = "moonocolor";
break; break;
default: default:
$skin = "kama"; $skin = "moonocolor";
} }
//Check whether the skin actually exists, if not, switch to a default //Check whether the skin actually exists, if not, switch to a default