Qual: Factorize code. Removed useless code.

This commit is contained in:
Laurent Destailleur
2009-05-04 19:02:32 +00:00
parent 7d597ea1a4
commit 9694d926e6
40 changed files with 103 additions and 114 deletions

View File

@@ -269,7 +269,7 @@ if ($handle)
}
print '<td align="center">';
print $html->textwithhelp('',$htmltooltip,1,0);
print $html->textwithpicto('',$htmltooltip,1,0);
print '</td>';
print '</tr>';
@@ -392,7 +392,7 @@ while (($file = readdir($handle))!==false)
$htmltooltip.='<br>'.$langs->trans("WatermarkOnDraftOrders").': '.yn($module->option_draft_watermark,1,1);
print '<td align="center">';
print $html->textwithhelp('',$htmltooltip,1,0);
print $html->textwithpicto('',$htmltooltip,1,0);
print '</td>';
print '<td align="center">';
print '<a href="'.$_SERVER["PHP_SELF"].'?action=specimen&module='.$name.'">'.img_object($langs->trans("Preview"),'order').'</a>';