Fix: Wrong order

This commit is contained in:
Laurent Destailleur 2009-08-10 17:02:47 +00:00
parent f3bd93b425
commit 17048fbc32

View File

@ -291,6 +291,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject=1, &$taskro
{ {
print "<tr ".$bc[$var].">\n"; print "<tr ".$bc[$var].">\n";
// Ref of task
print '<td>'; print '<td>';
if ($showlineingray) if ($showlineingray)
{ {
@ -304,6 +305,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject=1, &$taskro
} }
print '</td>'; print '</td>';
// Title of task
print "<td>"; print "<td>";
if ($showlineingray) print '<i>'; if ($showlineingray) print '<i>';
else print '<a href="task.php?id='.$lines[$i]->id.'">'; else print '<a href="task.php?id='.$lines[$i]->id.'">';
@ -316,6 +318,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject=1, &$taskro
else print '</a>'; else print '</a>';
print "</td>\n"; print "</td>\n";
// Project
if ($showproject) if ($showproject)
{ {
print "<td>"; print "<td>";