diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php index 356828b7bdc..99f6d88eae6 100644 --- a/htdocs/admin/menus.php +++ b/htdocs/admin/menus.php @@ -215,10 +215,10 @@ else print ''; $filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED)); print $filelib; - if (preg_match('/smartphone/',$conf->global->MAIN_MENU_SMARTPHONE_FORCED) + if (preg_match('/smartphone/',$conf->global->MAIN_MENU_SMARTPHONE_FORCED) || (empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && preg_match('/smartphone/',$conf->global->MAIN_MENU_SMARTPHONE))) { - print ' '.img_warning($langs->trans("ThisForceAlsoTheme")); + print ' '.img_warning($langs->transnoentitiesnoconv("ThisForceAlsoTheme")); } print ''; print ''; @@ -227,7 +227,7 @@ else if (preg_match('/smartphone/',$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) || (empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) && preg_match('/smartphone/',$conf->global->MAIN_MENUFRONT_SMARTPHONE))) { - print ' '.img_warning($langs->trans("ThisForceAlsoTheme")); + print ' '.img_warning($langs->transnoentitiesnoconv("ThisForceAlsoTheme")); } print ''; print '';