Use correct icon

This commit is contained in:
Laurent Destailleur 2008-12-05 11:15:05 +00:00
parent 55c832e2b3
commit 67303a1abf
2 changed files with 3 additions and 1 deletions

View File

@ -285,6 +285,7 @@ if ($step == 1 || ! $datatoexport)
{
$val=!$val;
print '<tr '.$bc[$val].'><td nospan="nospan">';
//print img_object($objexport->array_export_module[$key]->getName(),$export->array_export_module[$key]->picto).' ';
print $objexport->array_export_module[$key]->getName();
print '</td><td>';
//print $value;

View File

@ -98,9 +98,10 @@ if (sizeof($export->array_export_code))
{
$val=!$val;
print '<tr '.$bc[$val].'><td>';
print img_object($export->array_export_module[$key]->getName(),$export->array_export_module[$key]->picto).' ';
//print img_object($export->array_export_module[$key]->getName(),$export->array_export_module[$key]->picto).' ';
print $export->array_export_module[$key]->getName();
print '</td><td>';
print img_object($export->array_export_module[$key]->getName(),$export->array_export_icon[$key]).' ';
$string=$langs->trans($export->array_export_label[$key]);
print ($string!=$export->array_export_label[$key]?$string:$export->array_export_label[$key]);
print '</td>';