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 = '
'; + $morehtmlref .= $langs->trans($object->label); $morehtmlref .= '
'; dol_banner_tab($object, 'id', $linkback, 1, 'rowid', 'ref', $morehtmlref); // box add_jobs_box print '
'; + print '
'; + print '
'; print ''; - print '"; print ""; + print "";*/ - print ""; @@ -605,11 +608,11 @@ if (($action == "create") || ($action == "edit")) { if (!empty($conf->multicompany->enabled)) { print '"; } @@ -617,10 +620,8 @@ if (($action == "create") || ($action == "edit")) { print '
'; + /*print '
'; print $langs->trans('CronLabel')."".$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 "
'; print '
'; - print '
'; + print '
'; - - print '
'; print '
'; print ''; @@ -693,11 +694,11 @@ if (($action == "create") || ($action == "edit")) { print ""; print '
'; - print '
'; + print '
'; - print '
'; + print '
'; print ''; @@ -736,8 +737,12 @@ if (($action == "create") || ($action == "edit")) { print ""; print '
'; + print '
'; + print '
'; + + print dol_get_fiche_end(); diff --git a/htdocs/cron/info.php b/htdocs/cron/info.php index 6adc9da030e..689daf8eff5 100644 --- a/htdocs/cron/info.php +++ b/htdocs/cron/info.php @@ -57,6 +57,7 @@ print dol_get_fiche_head($head, 'info', $langs->trans("CronTask"), -1, 'cron'); $linkback = ''.$langs->trans("BackToList").''; $morehtmlref = '
'; +$morehtmlref .= $langs->trans($object->label); $morehtmlref .= '
'; dol_banner_tab($object, 'id', $linkback, 1, 'rowid', 'ref', $morehtmlref);