diff --git a/app/Resources/public/css/themes/frames.css b/app/Resources/public/css/themes/frames.css new file mode 100644 index 0000000000..93a9a5e52b --- /dev/null +++ b/app/Resources/public/css/themes/frames.css @@ -0,0 +1,8 @@ +/* + Theme Name: Frame Scorm + URI Project: http://www.chamilo.org + Description: Styles main base of Chamilo LMS appearance, works with Bootstrap 3.0.x + Author: + alex.aragon@beeznest.com + Version: 1.0 +*/ \ No newline at end of file diff --git a/main/inc/lib/svg-edit/extensions/imagelib/users.php b/main/inc/lib/svg-edit/extensions/imagelib/users.php index 74e633b3d6..e32f9ec7ff 100755 --- a/main/inc/lib/svg-edit/extensions/imagelib/users.php +++ b/main/inc/lib/svg-edit/extensions/imagelib/users.php @@ -31,7 +31,7 @@ if (is_array($scan_files) && count($scan_files) > 0) { } $style = ''; ?> diff --git a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php index a90d050a1b..fb558cc0f9 100644 --- a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php +++ b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php @@ -38,8 +38,16 @@ class CkEditor extends Editor */ public function createHtml() { + $cssFile = api_get_path(SYS_CSS_PATH).'themes/'.api_get_visual_theme().'/frames.css'; + if (!is_file($cssFile)) { + $cssFile = api_get_path(WEB_CSS_PATH).'frames.css'; + } else { + $cssFile = api_get_path(WEB_CSS_PATH).'themes/'.api_get_visual_theme().'/frames.css'; + } + + $style = ''; $html = ''; $html .= $this->editorReplace();