';
+ else print '';
- print '';
+ print '';
if ($canedit)
{
+ // Type
+ print '';
+ print '| ';
+ print $langs->trans("Type");
+ print ' | ';
+ $multiselect = 0;
+ if (!empty($conf->global->MAIN_ENABLE_MULTISELECT_TYPE)) // We use an option here because it adds bugs when used on agenda page "peruser" and "list"
+ {
+ $multiselect = (!empty($conf->global->AGENDA_USE_EVENT_TYPE));
+ }
+ print '';
+ print $formactions->select_type_actions($actioncode, "search_actioncode", $excludetype, (empty($conf->global->AGENDA_USE_EVENT_TYPE) ? 1 : -1), 0, $multiselect);
+ print ' | ';
+
+ // Assigned to
print '';
print '| ';
print $langs->trans("ActionsToDoBy").' ';
print ' | ';
+ print img_picto('', 'user');
print $form->select_dolusers($filtert, 'search_filtert', 1, '', !$canedit, '', '', 0, 0, 0, '', 0, '', 'maxwidth300');
if (empty($conf->dol_optimize_smallscreen)) print ' '.$langs->trans("or").' '.$langs->trans("ToUserOfGroup").' ';
print $form->select_dolgroups($usergroupid, 'usergroup', 1, '', !$canedit);
@@ -93,23 +109,11 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
print ' | ';
print '| ';
print $langs->trans("Resource");
- print ' | ';
- print $formresource->select_resource_list($resourceid, "search_resourceid", '', 1, 0, 0, null, '', 2);
+ print ' | ';
+ print img_picto('', 'object_resource');
+ print $formresource->select_resource_list($resourceid, "search_resourceid", '', 1, 0, 0, null, '', 2);
print ' | ';
}
-
- // Type
- print '';
- print '| ';
- print $langs->trans("Type");
- print ' | ';
- $multiselect = 0;
- if (!empty($conf->global->MAIN_ENABLE_MULTISELECT_TYPE)) // We use an option here because it adds bugs when used on agenda page "peruser" and "list"
- {
- $multiselect = (!empty($conf->global->AGENDA_USE_EVENT_TYPE));
- }
- print $formactions->select_type_actions($actioncode, "search_actioncode", $excludetype, (empty($conf->global->AGENDA_USE_EVENT_TYPE) ? 1 : -1), 0, $multiselect);
- print ' | ';
}
if (!empty($conf->societe->enabled) && $user->rights->societe->lire)
@@ -118,6 +122,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
print '';
print $langs->trans("ThirdParty").' ';
print ' | ';
+ print img_picto('', 'company');
print $form->select_company($socid, 'search_socid', '', 'SelectThirdParty', 0, 0, null, 0);
print ' | ';
}
@@ -131,6 +136,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
print '';
print $langs->trans("Project").' ';
print ' | ';
+ print img_picto('', 'project');
print $formproject->select_projects($socid ? $socid : -1, $pid, 'search_projectid', 0, 0, 1, 0, 0, 0, 0, '', 1, 0, 'maxwidth500');
print ' | ';
}
|
|