diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index a7eecde9ef4..4fff3d0ce52 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -220,11 +220,7 @@ $sql .= $db->plimit($max, 0); $resql = $db->query($sql); if ($resql) { - print '
'; - print ''; - print ''; - print ''; - print ''; + startSimpleTable($langs->trans("LatestModifiedProjects", $max), "projet/list.php", "sortfield=p.tms&sortorder=DESC", 3, -1, 'project'); $num = $db->num_rows($resql); @@ -303,7 +299,8 @@ if ($resql) { } else { print ''; } - print "
'.$langs->trans("LatestModifiedProjects", $max).'
'.$langs->trans("None").'
"; + + finishSimpleTable(true); } else { dol_print_error($db); } diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index b2bbf98186f..6d9786d9d14 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -1928,11 +1928,11 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser } // Author if (!empty($arrayfields['author']['checked'])) { - print ''.$form->select_dolusers(($search_user > 0 ? $search_user : -1), 'search_user', 1, null, 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth150').''; + print ''.$form->select_dolusers(($search_user > 0 ? $search_user : -1), 'search_user', 1, null, 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth125').''; } // Note if (!empty($arrayfields['t.note']['checked'])) { - print ''; + print ''; } // Duration if (!empty($arrayfields['t.element_duration']['checked'])) { @@ -1987,6 +1987,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser } print '' . "\n"; + $totalarray = array(); $totalarray['nbfield'] = 0; @@ -2246,7 +2247,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser // Task label if (!empty($arrayfields['t.element_label']['checked'])) { if ((empty($id) && empty($ref)) || !empty($projectidforalltimes)) { // Not a dedicated task - print ''; + print ''; print dol_escape_htmltag($task_time->label); print ''; if (!$i) { @@ -2696,7 +2697,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser // User if (!empty($arrayfields['author']['checked'])) { - print ''; + print ''; if ($action == 'splitline' && GETPOSTINT('lineid') == $task_time->rowid) { if (empty($object->id)) { $object->fetch($id);