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";
// Ref of task
print '<td>';
if ($showlineingray)
{
@ -304,18 +305,20 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject=1, &$taskro
}
print '</td>';
// Title of task
print "<td>";
if ($showlineingray) print '<i>';
else print '<a href="task.php?id='.$lines[$i]->id.'">';
for ($k = 0 ; $k < $level ; $k++)
{
print "&nbsp;&nbsp;&nbsp;";
print "&nbsp; &nbsp; &nbsp;";
}
print $lines[$i]->title;
if ($showlineingray) print '</i>';
else print '</a>';
print "</td>\n";
// Project
if ($showproject)
{
print "<td>";