Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/units/helpers/fck_helper.php
Show First 20 Lines • Show All 530 Lines • ▼ Show 20 Line(s) | |||||
$stylesheet_folder_url = dirname($stylesheet_file) . '/'; | $stylesheet_folder_url = dirname($stylesheet_file) . '/'; | ||||
$url_params = Array ('events[fck]' => 'OnGetsEditorStyles', 'no_pass_through' => 1, 'pass' => 'm'); | $url_params = Array ('events[fck]' => 'OnGetsEditorStyles', 'no_pass_through' => 1, 'pass' => 'm'); | ||||
$prefix = $this->Application->isAdmin ? '_FRONT_END_' : ''; | $prefix = $this->Application->isAdmin ? '_FRONT_END_' : ''; | ||||
$styles_css = $this->Application->HREF('index', $prefix, $url_params, 'index.php'); | $styles_css = $this->Application->HREF('index', $prefix, $url_params, 'index.php'); | ||||
} | } | ||||
else { | else { | ||||
$stylesheet_folder_url = $this->Application->BaseURL(rtrim(EDITOR_PATH, '/')); | $stylesheet_folder_url = $this->Application->BaseURL() . trim(EDITOR_PATH, '/') . '/'; | ||||
$styles_css = $stylesheet_folder_url . 'style.css'; | $styles_css = $stylesheet_folder_url . 'style.css'; | ||||
} | } | ||||
$styles_js = $stylesheet_folder_url . 'styles.js'; | $styles_js = $stylesheet_folder_url . 'styles.js'; | ||||
return array($styles_css, $styles_js); | return array($styles_css, $styles_js); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |