[-] Core: add possibility to choose the position of your css files

This commit is contained in:
Rémi Gaillard
2013-11-13 15:31:29 +01:00
parent f7e1229e16
commit 2fe12b965b
2 changed files with 22 additions and 25 deletions
+3 -3
View File
@@ -1940,8 +1940,8 @@ class AdminControllerCore extends Controller
{
$admin_webpath = str_ireplace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_);
$admin_webpath = preg_replace('/^'.preg_quote(DIRECTORY_SEPARATOR, '/').'/', '', $admin_webpath);
$this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/backward-admin-bootstrap-reset.css', 'all');
$this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/backward-admin-old.css', 'all');
$this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/backward-admin-bootstrap-reset.css', 'all', 1);
$this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/backward-admin-old.css', 'all', 1);
}
public function setMedia()
@@ -3295,4 +3295,4 @@ class AdminControllerCore extends Controller
return $return;
}
}
}