Fix colspan
This commit is contained in:
parent
4674eda45a
commit
3cd953bc41
@ -1040,8 +1040,10 @@ if (!empty($conf->facture->enabled) && $user->rights->facture->lire)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($othernb) {
|
if ($othernb) {
|
||||||
|
$colspan = 6;
|
||||||
|
if (!empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) $colspan++;
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td class="nowrap" colspan="5">';
|
print '<td class="nowrap" colspan="'.$colspan.'">';
|
||||||
print '<span class="opacitymedium">'.$langs->trans("More").'... ('.$othernb.')</span>';
|
print '<span class="opacitymedium">'.$langs->trans("More").'... ('.$othernb.')</span>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
@ -1174,8 +1176,10 @@ if ((!empty($conf->fournisseur->enabled) && empty($conf->global->MAIN_USE_NEW_SU
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($othernb) {
|
if ($othernb) {
|
||||||
|
$colspan = 6;
|
||||||
|
if (!empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) $colspan++;
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td class="nowrap" colspan="5">';
|
print '<td class="nowrap" colspan="'.$colspan.'">';
|
||||||
print '<span class="opacitymedium">'.$langs->trans("More").'... ('.$othernb.')</span>';
|
print '<span class="opacitymedium">'.$langs->trans("More").'... ('.$othernb.')</span>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user