diff --git a/htdocs/cron/card.php b/htdocs/cron/card.php index 77ace0e4937..561058ec68d 100644 --- a/htdocs/cron/card.php +++ b/htdocs/cron/card.php @@ -546,21 +546,24 @@ if (($action == "create") || ($action == "edit")) { $linkback = ''.$langs->trans("BackToList").''; $morehtmlref = '
| '; + /*print ' | |
| '; print $langs->trans('CronLabel')." | "; print "".$langs->trans($object->label); - print " |
| "; + print ' | |
| '; print $langs->trans('CronType')." | "; print $formCron->select_typejob('jobtype', $object->jobtype, 1); print " |
| '; print $langs->trans('Entity')." | "; - if (!$object->entity) { - print $langs->trans("AllEntities"); + if (empty($object->entity)) { + print img_picto($langs->trans("AllEntities"), 'entity', 'class="pictofixedwidth"').$langs->trans("AllEntities"); } else { $mc->getInfo($object->entity); - print $mc->label; + print img_picto($langs->trans("AllEntities"), 'entity', 'class="pictofixedwidth"').$mc->label; } print " |