From 382b12b29adee358a8aab4006b7aa13576fe91a8 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 14 Mar 2013 17:00:34 +0000 Subject: [PATCH] missing fallback on skins --- phpgwapi/inc/class.egw_ckeditor_config.inc.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/phpgwapi/inc/class.egw_ckeditor_config.inc.php b/phpgwapi/inc/class.egw_ckeditor_config.inc.php index 658be15e23..c9c5bde31d 100644 --- a/phpgwapi/inc/class.egw_ckeditor_config.inc.php +++ b/phpgwapi/inc/class.egw_ckeditor_config.inc.php @@ -168,19 +168,18 @@ class egw_ckeditor_config switch ($skin) { case 'silver': - $skin = "v2"; - break; + case 'office2003': case 'default': $skin = "kama"; break; - case 'office2003': - $skin = "office2003"; + case 'moono': + $skin = "moono"; break; } //Check whether the skin actually exists, if not, switch to a default if (!(file_exists($basePath.'skins/'.$skin) || file_exists($skin) || !empty($skin))) - $skin = "office2003"; + $skin = "kama"; self::$skin = $skin; }