From c9a2410c5713e5da0e46f36f3e173d3c5e99af2c Mon Sep 17 00:00:00 2001 From: Francois Gaillard Date: Wed, 13 Nov 2013 17:48:21 +0100 Subject: [PATCH] [-] Classes : AdminController - Changed admin-theme.css position --- classes/controller/AdminController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index 411dcc333..5d7cf4695 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -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', 0); - $this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/backward-admin-old.css', 'all', 0); + $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', 2); } public function setMedia() @@ -1950,7 +1950,7 @@ class AdminControllerCore extends Controller $admin_webpath = preg_replace('/^'.preg_quote(DIRECTORY_SEPARATOR, '/').'/', '', $admin_webpath); //Bootstrap v3.01 + Specific Admin Theme - $this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/admin-theme.css', 'all'); + $this->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->bo_theme.'/css/admin-theme.css', 'all', 0); // Deprecated stylesheets + reset bootstrap style for the #nobootstrap field - Backward compatibility if (!$this->bootstrap)