Fix bad links with mobile
This commit is contained in:
parent
ae59ca43cc
commit
e141d43999
@ -1004,7 +1004,10 @@ class FormOther
|
||||
if (! empty($boxidactivatedforuser[$box->id])) continue; // Already visible for user
|
||||
$label=$langs->transnoentitiesnoconv($box->boxlabel);
|
||||
//if (preg_match('/graph/',$box->class)) $label.=' ('.$langs->trans("Graph").')';
|
||||
if (preg_match('/graph/',$box->class)) $label=$label.' <span class="fa fa-bar-chart"></span>';
|
||||
if (preg_match('/graph/',$box->class) && empty($conf->browser->phone))
|
||||
{
|
||||
$label=$label.' <span class="fa fa-bar-chart"></span>';
|
||||
}
|
||||
$arrayboxtoactivatelabel[$box->id]=$label; // We keep only boxes not shown for user, to show into combo list
|
||||
}
|
||||
foreach($boxidactivatedforuser as $boxid)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user