Fix: Wrong order
This commit is contained in:
parent
f3bd93b425
commit
17048fbc32
@ -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,18 +305,20 @@ 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.'">';
|
||||||
for ($k = 0 ; $k < $level ; $k++)
|
for ($k = 0 ; $k < $level ; $k++)
|
||||||
{
|
{
|
||||||
print " ";
|
print " ";
|
||||||
}
|
}
|
||||||
print $lines[$i]->title;
|
print $lines[$i]->title;
|
||||||
if ($showlineingray) print '</i>';
|
if ($showlineingray) print '</i>';
|
||||||
else print '</a>';
|
else print '</a>';
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
|
// Project
|
||||||
if ($showproject)
|
if ($showproject)
|
||||||
{
|
{
|
||||||
print "<td>";
|
print "<td>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user