Fix: modif esthetique mineure

This commit is contained in:
Regis Houssin 2007-10-29 22:05:45 +00:00
parent da5c8f674d
commit 3f9e9a212d

View File

@ -186,8 +186,9 @@ if ($product->id)
print '<table width="100%" class="noborder">'; print '<table width="100%" class="noborder">';
if ($handle) // Affiche liste des documents existant
{ print_titre($langs->trans("AttachedFiles"));
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
print '<td>'.$langs->trans('Document').'</td>'; print '<td>'.$langs->trans('Document').'</td>';
print '<td align="right">'.$langs->trans('Size').'</td>'; print '<td align="right">'.$langs->trans('Size').'</td>';
@ -195,6 +196,9 @@ if ($product->id)
print '<td>&nbsp;</td>'; print '<td>&nbsp;</td>';
print '</tr>'; print '</tr>';
$var=true; $var=true;
if ($handle)
{
while (($file = readdir($handle))!==false) while (($file = readdir($handle))!==false)
{ {
if (!is_dir($dir.$file) && substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS') if (!is_dir($dir.$file) && substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS')