diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 91f1d51bf26..a300d11219d 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1626,14 +1626,14 @@ else if ($id > 0 || ! empty($ref)) // Validate if ($object->statut == 0 && $user->rights->ficheinter->creer && (count($object->lines) > 0 || ! empty($conf->global->FICHINTER_DISABLE_DETAILS))) { - print '
'.$langs->trans("Valid").'
'; } // Modify if ($object->statut == 1 && $user->rights->ficheinter->creer) { - print '
'; + print '
'; if (empty($conf->global->FICHINTER_DISABLE_DETAILS)) print $langs->trans("Modify"); else print $langs->trans("SetToDraft"); print '
'; @@ -1657,7 +1657,7 @@ else if ($id > 0 || ! empty($ref)) $langs->load("agenda"); if ($object->statut < 2) { - if ($user->rights->agenda->myactions->create) print '
'.$langs->trans("AddEvent").'
'; + if ($user->rights->agenda->myactions->create) print '
'.$langs->trans("AddEvent").'
'; else print '
'.$langs->trans("AddEvent").'
'; } }