update with html5 compliant code
This commit is contained in:
parent
29fdad144d
commit
f613121c2d
@ -682,7 +682,7 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
// User
|
// User
|
||||||
if (! empty($arrayfields['user']['checked'])) {
|
if (! empty($arrayfields['user']['checked'])) {
|
||||||
print '<td align="left">';
|
print '<td class="left">';
|
||||||
$usertmp->id=$obj->id_user;
|
$usertmp->id=$obj->id_user;
|
||||||
$usertmp->lastname=$obj->lastname;
|
$usertmp->lastname=$obj->lastname;
|
||||||
$usertmp->firstname=$obj->firstname;
|
$usertmp->firstname=$obj->firstname;
|
||||||
@ -805,8 +805,8 @@ if ($resql)
|
|||||||
$i++;
|
$i++;
|
||||||
if ($i == 1)
|
if ($i == 1)
|
||||||
{
|
{
|
||||||
if ($num < $limit && empty($offset)) print '<td align="left">'.$langs->trans("Total").'</td>';
|
if ($num < $limit && empty($offset)) print '<td class="left">'.$langs->trans("Total").'</td>';
|
||||||
else print '<td align="left">'.$langs->trans("Totalforthispage").'</td>';
|
else print '<td class="left">'.$langs->trans("Totalforthispage").'</td>';
|
||||||
}
|
}
|
||||||
elseif ($totalarray['totalhtfield'] == $i) print '<td align="right">'.price($totalarray['totalht']).'</td>';
|
elseif ($totalarray['totalhtfield'] == $i) print '<td align="right">'.price($totalarray['totalht']).'</td>';
|
||||||
elseif ($totalarray['totalvatfield'] == $i) print '<td align="right">'.price($totalarray['totalvat']).'</td>';
|
elseif ($totalarray['totalvatfield'] == $i) print '<td align="right">'.price($totalarray['totalvat']).'</td>';
|
||||||
|
|||||||
@ -232,7 +232,7 @@ if (empty($user->rights->expensereport->readall) && empty($user->rights->expense
|
|||||||
print $form->select_dolusers($userid, 'userid', 1, '', 0, $include, '', 0, 0, 0, '', 0, '', 'maxwidth300');
|
print $form->select_dolusers($userid, 'userid', 1, '', 0, $include, '', 0, 0, 0, '', 0, '', 'maxwidth300');
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
// Status
|
// Status
|
||||||
print '<tr><td align="left">'.$langs->trans("Status").'</td><td align="left">';
|
print '<tr><td class="left">'.$langs->trans("Status").'</td><td class="left">';
|
||||||
$liststatus=$tmpexpensereport->statuts;
|
$liststatus=$tmpexpensereport->statuts;
|
||||||
print $form->selectarray('object_status', $liststatus, GETPOST('object_status'), -4, 0, 0, '', 1);
|
print $form->selectarray('object_status', $liststatus, GETPOST('object_status'), -4, 0, 0, '', 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user