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

This commit is contained in:
nPellicari
2012-03-06 09:00:25 +00:00
parent e35581f8d9
commit f7b97fee7a
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');
}
/**