|
|
|
|
@ -533,7 +533,6 @@ class Template |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Default CSS Bootstrap |
|
|
|
|
|
|
|
|
|
$bowerCSSFiles = [ |
|
|
|
|
'bootstrap-daterangepicker/daterangepicker-bs3.css', |
|
|
|
|
'fontawesome/css/font-awesome.min.css', |
|
|
|
|
@ -568,7 +567,12 @@ class Template |
|
|
|
|
$this->assign('css_static_file_to_string', $css_file_to_string); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
public function setCSSEditor() { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
public function setCSSEditor() |
|
|
|
|
{ |
|
|
|
|
$cssEditor = api_get_cdn_path(api_get_path(WEB_CSS_PATH).'editor.css'); |
|
|
|
|
if (is_file(api_get_path(SYS_CSS_PATH).'themes/'.$this->theme.'/editor.css')) { |
|
|
|
|
$cssEditor = api_get_path(WEB_CSS_PATH).'themes/'.$this->theme.'/editor.css'; |
|
|
|
|
@ -576,6 +580,7 @@ class Template |
|
|
|
|
|
|
|
|
|
$this->assign('cssEditor', $cssEditor); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Prepare custom CSS to be added at the very end of the <head> section |
|
|
|
|
* @return void |
|
|
|
|
|