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

This commit is contained in:
nPellicari committed 2012-03-06 09:00:25 +00:00
1 parent e35581f8d9
commit f7b97fee7a
7 files changed
+197 -22

No files matched your search

+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');
}
/**