Fix: Restore status picto on boxes.
This commit is contained in:
parent
6b20abe569
commit
e6ff4ff887
@ -209,11 +209,14 @@ class ModeleBoxes
|
|||||||
if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];
|
if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];
|
||||||
|
|
||||||
if ($maxlength) $textewithnotags=dolibarr_trunc($textewithnotags,$maxlength);
|
if ($maxlength) $textewithnotags=dolibarr_trunc($textewithnotags,$maxlength);
|
||||||
print $textewithnotags;
|
if (eregi('^<img',$texte)) print $texte; // show text with no html cleaning
|
||||||
|
else print $textewithnotags; // show text with html cleaning
|
||||||
|
|
||||||
//print $texte;
|
// End picto
|
||||||
if (isset($contents[$i][$j]['url'])) print '</a>';
|
if (isset($contents[$i][$j]['url'])) print '</a>';
|
||||||
print $texte2withnotags;
|
|
||||||
|
if (eregi('^<img',$texte2)) print $texte2; // show text with no html cleaning
|
||||||
|
else print $texte2withnotags; // show text with html cleaning
|
||||||
print "</td>";
|
print "</td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user