Uniformize code

This commit is contained in:
Laurent Destailleur 2015-10-17 02:03:59 +02:00
parent 8c66a7d099
commit b748c4e328
2 changed files with 5 additions and 5 deletions

View File

@ -1100,13 +1100,13 @@ if ($action == 'create')
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tbody>'; print '<tbody>';
print '<tr>'; print '<tr>';
print '<td>'.$langs->trans("DateStart").'</td>'; print '<td class="fieldrequired">'.$langs->trans("DateStart").'</td>';
print '<td>'; print '<td>';
$form->select_date($date_start?$date_start:-1,'date_debut',0,0,0,'',1,1); $form->select_date($date_start?$date_start:-1,'date_debut',0,0,0,'',1,1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
print '<tr>'; print '<tr>';
print '<td>'.$langs->trans("DateEnd").'</td>'; print '<td class="fieldrequired">'.$langs->trans("DateEnd").'</td>';
print '<td>'; print '<td>';
$form->select_date($date_end?$date_end:-1,'date_fin',0,0,0,'',1,1); $form->select_date($date_end?$date_end:-1,'date_fin',0,0,0,'',1,1);
print '</td>'; print '</td>';

View File

@ -211,7 +211,7 @@ print '<div class="fichecenter"><div class="fichethirdleft">';
// Show filter box // Show filter box
print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">'; print '<form name="stats" method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="mode" value="'.$mode.'">'; print '<input type="hidden" name="mode" value="'.$mode.'">';
print '<table class="border" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td class="liste_titre" colspan="2">'.$langs->trans("Filter").'</td></tr>'; print '<tr class="liste_titre"><td class="liste_titre" colspan="2">'.$langs->trans("Filter").'</td></tr>';
// Company // Company
/* /*
@ -237,8 +237,8 @@ print '</table>';
print '</form>'; print '</form>';
print '<br><br>'; print '<br><br>';
print '<table class="border" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr height="24">'; print '<tr class="liste_titre" height="24">';
print '<td align="center">'.$langs->trans("Year").'</td>'; print '<td align="center">'.$langs->trans("Year").'</td>';
print '<td align="center">'.$langs->trans("Number").'</td>'; print '<td align="center">'.$langs->trans("Number").'</td>';
print '<td align="center">'.$langs->trans("AmountTotal").'</td>'; print '<td align="center">'.$langs->trans("AmountTotal").'</td>';