mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +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
|
//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
|
||||||
|
Loading…
Reference in New Issue
Block a user