mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-21 10:18:19 +03:00
Исправлено подключение RTL стилей
* Временное исправление, позже подключение ассетов будет перенесено в шаблон
This commit is contained in:
parent
70d03ab5d4
commit
1854d398f7
|
@ -490,7 +490,6 @@ $config['block']['rule_blog'] = array(
|
|||
'clear' => true
|
||||
);
|
||||
|
||||
|
||||
$config['head']['default']['js'] = array(
|
||||
"___path.skin.web___/components/ls-vendor/html5shiv.js" => array('browser' => 'lt IE 9'),
|
||||
"___path.skin.web___/components/ls-vendor/jquery-1.9.1.min.js",
|
||||
|
@ -663,14 +662,14 @@ $config['head']['default']['css'] = array(
|
|||
);
|
||||
|
||||
// Стили для RTL языков
|
||||
if ( Config::Get('view.rtl') ) {
|
||||
$aCss[] = "___path.skin.web___/components/vote/css/vote-rtl.css";
|
||||
$aCss[] = "___path.skin.web___/components/alert/css/alert-rtl.css";
|
||||
if ( $config['view']['rtl'] ) {
|
||||
$config['head']['default']['css'][] = "___path.skin.web___/components/vote/css/vote-rtl.css";
|
||||
$config['head']['default']['css'][] = "___path.skin.web___/components/alert/css/alert-rtl.css";
|
||||
}
|
||||
|
||||
// Подключение темы
|
||||
if ( Config::Get('view.theme') ) {
|
||||
$aCss[] = "___path.skin.web___/themes/___view.theme___/style.css";
|
||||
if ( $config['view']['theme'] ) {
|
||||
$config['head']['default']['css'][] = "___path.skin.web___/themes/___view.theme___/style.css";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue