Clean code and fix translation file
This commit is contained in:
parent
c743b7803e
commit
2aa04e7f9c
@ -399,7 +399,6 @@ if ($action == 'create') {
|
|||||||
print '<td align="center">'.$langs->trans("Duration").'</td>';
|
print '<td align="center">'.$langs->trans("Duration").'</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
}
|
}
|
||||||
$var=true;
|
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
$objp = $db->fetch_object($result);
|
$objp = $db->fetch_object($result);
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
@ -543,9 +542,9 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
print '<tr><td>'.$langs->trans("Description").'</td><td colspan="3">'.nl2br($object->description)."</td></tr>";
|
print '<tr><td>'.$langs->trans("Description").'</td><td colspan="3">'.nl2br($object->description)."</td></tr>";
|
||||||
|
|
||||||
// Contrat
|
// Contract
|
||||||
if (! empty($conf->contrat->enabled)) {
|
if (! empty($conf->contrat->enabled)) {
|
||||||
$langs->load('contrat');
|
$langs->load('contracts');
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user