diff -up mobile_theme/mobile_theme.module mobile_theme_new/mobile_theme.module
--- mobile_theme/mobile_theme.module	2008-05-29 23:13:02.000000000 +0200
+++ mobile_theme_new/mobile_theme.module	2010-11-30 09:58:05.023176161 +0100
@@ -2,17 +2,16 @@
 // $Id: mobile_theme.module,v 1.1.2.1 2008/05/29 21:13:02 robloach Exp $
 
 /**
+ * Implementation of hook_init().
  * Check to see if the user is running on a mobile browser.
  */
 function mobile_theme_init() {
   $browser = browscap_get_browser();
-  if (isset($browser['ismobiledevice'])) {
-    if ($browser['ismobiledevice']) {
-      $theme = variable_get('mobile_theme_selection', 'default');
-      if ($theme != 'default') {
-        global $custom_theme;
-        $custom_theme = $theme;
-      }
+  if (isset($browser['ismobiledevice']) && $browser['ismobiledevice'] == 'true') {
+    $theme = variable_get('mobile_theme_selection', 'default');
+    if ($theme != 'default') {
+      global $custom_theme;
+      $custom_theme = $theme;
     }
   }
 }
Les sous-répertoires mobile_theme/translations et mobile_theme_new/translations sont identiques.
