Optimize for smartphone

This commit is contained in:
Laurent Destailleur 2013-04-02 10:26:11 +02:00
parent c6835e711a
commit f98e40f694

View File

@ -2104,10 +2104,10 @@ function info_admin($text, $infoonimgalt = 0, $nodiv=0)
if ($infoonimgalt)
{
return img_picto($text, 'star');
return img_picto($text, 'star', 'class="hideonsmartphone"');
}
return ($nodiv?'':'<div class="info">').img_picto($langs->trans('InfoAdmin'), 'star').' '.$text.($nodiv?'':'</div>');
return ($nodiv?'':'<div class="info hideonsmartphone">').img_picto($langs->trans('InfoAdmin'), 'star', 'class="hideonsmartphone"').' '.$text.($nodiv?'':'</div>');
}