[*] FO : Add mobile detection and mobile theme dispatcher

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13866 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
nPellicari
2012-03-06 09:00:25 +00:00
parent ff22815522
commit b3f030f81e
7 changed files with 197 additions and 22 deletions
+3 -1
View File
@@ -194,7 +194,9 @@ class ContactControllerCore extends FrontController
public function setMedia()
{
parent::setMedia();
$this->addCSS(_THEME_CSS_DIR_.'contact-form.css');
// These CSS isn't used for the mobile theme.
if ($this->context->getMobileDevice() == false)
$this->addCSS(_THEME_CSS_DIR_.'contact-form.css');
}
/**