Can filter action on project
This commit is contained in:
parent
c632cef129
commit
e7bae690d9
@ -186,19 +186,21 @@ if ($canedit || $conf->projet->enabled)
|
|||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td nowrap="nowrap">';
|
print '<td nowrap="nowrap">';
|
||||||
print $langs->trans("ActionsAskedBy");
|
print $langs->trans("ActionsAskedBy");
|
||||||
print '</td><td nowrap="nowrap">';
|
print ' </td><td nowrap="nowrap">';
|
||||||
print $form->select_users($filtera,'userasked',1,'',!$canedit);
|
print $form->select_users($filtera,'userasked',1,'',!$canedit);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
print '<tr>'; print '<td nowrap="nowrap">'; print $langs->trans("ActionsToDoBy");
|
print '<tr>';
|
||||||
print '</td><td nowrap="nowrap">';
|
print '<td nowrap="nowrap">';
|
||||||
|
print $langs->trans("ActionsToDoBy");
|
||||||
|
print ' </td><td nowrap="nowrap">';
|
||||||
print $form->select_users($filtert,'usertodo',1,'',!$canedit);
|
print $form->select_users($filtert,'usertodo',1,'',!$canedit);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td nowrap="nowrap">';
|
print '<td nowrap="nowrap">';
|
||||||
print $langs->trans("ActionsDoneBy");
|
print $langs->trans("ActionsDoneBy");
|
||||||
print '</td><td nowrap="nowrap">';
|
print ' </td><td nowrap="nowrap">';
|
||||||
print $form->select_users($filterd,'userdone',1,'',!$canedit);
|
print $form->select_users($filterd,'userdone',1,'',!$canedit);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
@ -207,7 +209,10 @@ if ($canedit || $conf->projet->enabled)
|
|||||||
{
|
{
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td nowrap="nowrap">';
|
print '<td nowrap="nowrap">';
|
||||||
print $langs->trans("Project").' '; print '</td><td nowrap="nowrap">'; select_projects($socid,$_REQUEST["projectid"],'projectid'); print '</td></tr>';
|
print $langs->trans("Project").' ';
|
||||||
|
print '</td><td nowrap="nowrap">';
|
||||||
|
select_projects($socid,$_REQUEST["projectid"],'projectid');
|
||||||
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user