From 1f55e9421b43bae94fb9de74a5193115c72cf2f2 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 23 Sep 2010 10:20:10 +0000 Subject: [PATCH] Add smartphone menu management, based from Auguria menu --- htdocs/core/class/html.formadmin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formadmin.class.php b/htdocs/core/class/html.formadmin.class.php index 06de63cdd66..add66c06491 100644 --- a/htdocs/core/class/html.formadmin.class.php +++ b/htdocs/core/class/html.formadmin.class.php @@ -141,7 +141,7 @@ class FormAdmin if (preg_match('/lib\.php$/i',$file)) continue; // We exclude library files $filelib=preg_replace('/\.php$/i','',$file); $prefix=''; - if (preg_match('/^eldy/i',$file)) $prefix='0'; // 0=Recommanded, 1=Experimental, 2=Other + if (preg_match('/^eldy|^iphone/i',$file)) $prefix='0'; // 0=Recommanded, 1=Experimental, 2=Other else $prefix='2'; if ($file == $selected)