mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix title New Employee
This commit is contained in:
parent
25d3ead0a0
commit
849bcf9bca
|
|
@ -781,7 +781,11 @@ if ($object->id > 0) {
|
|||
$person_name = !empty($object->firstname) ? $object->lastname.", ".$object->firstname : $object->lastname;
|
||||
$title = $person_name." - ".$langs->trans('Card');
|
||||
} else {
|
||||
$title = $langs->trans("NewUser");
|
||||
if (GETPOST('employee', 'alphanohtml')) {
|
||||
$title = $langs->trans("NewEmployee");
|
||||
} else {
|
||||
$title = $langs->trans("NewUser");
|
||||
}
|
||||
}
|
||||
$help_url = '';
|
||||
|
||||
|
|
@ -789,7 +793,7 @@ llxHeader('', $title, $help_url);
|
|||
|
||||
|
||||
if ($action == 'create' || $action == 'adduserldap') {
|
||||
print load_fiche_titre($langs->trans("NewUser"), '', 'user');
|
||||
print load_fiche_titre($title, '', 'user');
|
||||
|
||||
print '<span class="opacitymedium">'.$langs->trans("CreateInternalUserDesc")."</span><br>\n";
|
||||
print "<br>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user