Look: Optimize for smartphone

This commit is contained in:
Laurent Destailleur 2013-04-13 18:41:43 +02:00
parent 1a1e09a5ed
commit 355168527d

View File

@ -396,7 +396,7 @@ class FormFile
if (! empty($modellist))
{
$out.= '<th align="center" class="formdoc liste_titre">';
$out.= $langs->trans('Model').' ';
$out.= '<span class="hideonsmartphone">'.$langs->trans('Model').' </span>';
if (is_array($modellist) && count($modellist) == 1) // If there is only one element
{
$arraykeys=array_keys($modellist);