* Finish task #9002.
This commit is contained in:
@@ -19,19 +19,19 @@
|
||||
<?php
|
||||
$that = zget($lang->user->thirdPerson, $user->gender);
|
||||
$active = $type == 'assignedTo' ? 'active' : '';
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&type=assignedTo"), sprintf($lang->user->assignedTo, $that)) . "</li>";
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&fromModule=$fromModule&type=assignedTo"), sprintf($lang->user->assignedTo, $that)) . "</li>";
|
||||
|
||||
$active = $type == 'openedBy' ? 'active' : '';
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&type=openedBy"), sprintf($lang->user->openedBy, $that)) . "</li>";
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&fromModule=$fromModule&type=openedBy"), sprintf($lang->user->openedBy, $that)) . "</li>";
|
||||
|
||||
$active = $type == 'finishedBy' ? 'active' : '';
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&type=finishedBy"), sprintf($lang->user->finishedBy, $that)) . "</li>";
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&fromModule=$fromModule&type=finishedBy"), sprintf($lang->user->finishedBy, $that)) . "</li>";
|
||||
|
||||
$active = $type == 'closedBy' ? 'active' : '';
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&type=closedBy"), sprintf($lang->user->closedBy, $that)) . "</li>";
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&fromModule=$fromModule&type=closedBy"), sprintf($lang->user->closedBy, $that)) . "</li>";
|
||||
|
||||
$active = $type == 'canceledBy' ? 'active' : '';
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&type=canceledBy"), sprintf($lang->user->canceledBy, $that)) . "</li>";
|
||||
echo "<li class='$active'>" . html::a(inlink('task', "userID={$user->id}&fromModule=$fromModule&type=canceledBy"), sprintf($lang->user->canceledBy, $that)) . "</li>";
|
||||
?>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user