Fix css class declared in wrong param
In print_liste_field_titre CSS class name can only be added in prefix parameter (except 'class="right"' for backward compatibility) If the title is centered, the field should be also
This commit is contained in:
parent
6ec17dbe79
commit
e381e646b3
@ -637,7 +637,7 @@ if ($action == 'create') {
|
|||||||
print_liste_field_titre("Debit", "", "", "", "", 'class="right"');
|
print_liste_field_titre("Debit", "", "", "", "", 'class="right"');
|
||||||
print_liste_field_titre("Credit", "", "", "", "", 'class="right"');
|
print_liste_field_titre("Credit", "", "", "", "", 'class="right"');
|
||||||
if (empty($object->date_validation)) {
|
if (empty($object->date_validation)) {
|
||||||
print_liste_field_titre("Action", "", "", "", "", 'width="60" class="center"');
|
print_liste_field_titre("Action", "", "", "", "", 'width="60"', "", "", 'center ');
|
||||||
} else {
|
} else {
|
||||||
print_liste_field_titre("");
|
print_liste_field_titre("");
|
||||||
}
|
}
|
||||||
@ -704,9 +704,7 @@ if ($action == 'create') {
|
|||||||
print '<td><input type="text" class="minwidth200" name="label_operation" value="' . $label_operation . '"/></td>';
|
print '<td><input type="text" class="minwidth200" name="label_operation" value="' . $label_operation . '"/></td>';
|
||||||
print '<td class="right"><input type="text" size="6" class="right" name="debit" value=""/></td>';
|
print '<td class="right"><input type="text" size="6" class="right" name="debit" value=""/></td>';
|
||||||
print '<td class="right"><input type="text" size="6" class="right" name="credit" value=""/></td>';
|
print '<td class="right"><input type="text" size="6" class="right" name="credit" value=""/></td>';
|
||||||
print '<td>';
|
print '<td class="center"><input type="submit" class="button" name="save" value="' . $langs->trans("Add") . '"></td>';
|
||||||
print '<input type="submit" class="button" name="save" value="' . $langs->trans("Add") . '">';
|
|
||||||
print '</td>';
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
print '<!-- td columns in display mode -->';
|
print '<!-- td columns in display mode -->';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user