Changeset View
Changeset View
Standalone View
Standalone View
core/units/fck/fck_eh.php
Context not available. | |||||
*/ | */ | ||||
function OnGetsEditorStyles($event) | function OnGetsEditorStyles($event) | ||||
{ | { | ||||
/** @var ThemeItem $theme */ | |||||
$theme = $this->Application->recallObject('theme.current'); | |||||
/** @var MinifyHelper $minify_helper */ | |||||
$minify_helper = $this->Application->recallObject('MinifyHelper'); | $minify_helper = $this->Application->recallObject('MinifyHelper'); | ||||
/* @var $minify_helper MinifyHelper */ | |||||
$this->Application->InitParser(); | $this->Application->InitParser(); | ||||
$styles_css = $minify_helper->CompressScriptTag( Array ('files' => 'inc/style.css') ); | $styles_css = $minify_helper->CompressScriptTag(array('files' => $theme->getStylesheetFile(true))); | ||||
$event->redirect = 'external:' . $styles_css; | $event->redirect = 'external:' . $styles_css; | ||||
} | } | ||||
} | } | ||||
No newline at end of file | |||||
Context not available. |