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
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