|
|
|
@ -585,6 +585,7 @@ class Template |
|
|
|
|
{ |
|
|
|
|
global $disable_js_and_css_files; |
|
|
|
|
// Base CSS |
|
|
|
|
|
|
|
|
|
$css[] = api_get_cdn_path(api_get_path(WEB_CSS_PATH).'base.css'); |
|
|
|
|
|
|
|
|
|
if ($this->show_learnpath) { |
|
|
|
@ -594,6 +595,12 @@ class Template |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (is_file(api_get_path(SYS_CSS_PATH).'themes/'.$this->theme.'/editor.css')) { |
|
|
|
|
$css[] = api_get_path(WEB_CSS_PATH).'themes/'.$this->theme.'/editor.css'; |
|
|
|
|
}else{ |
|
|
|
|
$css[] = api_get_cdn_path(api_get_path(WEB_CSS_PATH).'editor.css'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$css[] = api_get_cdn_path(api_get_path(WEB_CSS_PATH).'themes/'.$this->theme.'/default.css'); |
|
|
|
|
|
|
|
|
|
$css_file_to_string = null; |
|
|
|
|