mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised
This commit is contained in:
parent
10cca5562d
commit
39296e9d41
@ -403,10 +403,13 @@
|
|||||||
case 'lastall':
|
case 'lastall':
|
||||||
$name = $lastname . $delimiter . $firstname . ' ['.$lid.']';
|
$name = $lastname . $delimiter . $firstname . ' ['.$lid.']';
|
||||||
break;
|
break;
|
||||||
|
case 'allfirst':
|
||||||
|
$name = '['.$lid.'] ' . $firstname . ' ' . $lastname;
|
||||||
|
break;
|
||||||
case 'all':
|
case 'all':
|
||||||
/* fall through */
|
/* fall through */
|
||||||
default:
|
default:
|
||||||
$name = '['.$lid.'] ' . $firstname . ' ' . $lastname;
|
$name = '['.$lid.'] ' . $lastname . $delimiter . $firstname;
|
||||||
}
|
}
|
||||||
return $name;
|
return $name;
|
||||||
}
|
}
|
||||||
|
@ -110,6 +110,7 @@
|
|||||||
'username' => lang('username'),
|
'username' => lang('username'),
|
||||||
'firstall' => lang('Firstname').' '.lang('Lastname').' ['.lang('username').']',
|
'firstall' => lang('Firstname').' '.lang('Lastname').' ['.lang('username').']',
|
||||||
'lastall' => lang('Lastname').', '.lang('Firstname').' ['.lang('username').']',
|
'lastall' => lang('Lastname').', '.lang('Firstname').' ['.lang('username').']',
|
||||||
|
'allfirst' => '['.lang('username').'] '.lang('Firstname'). ' '.lang('Lastname'),
|
||||||
'all' => '['.lang('username').'] '.lang('Lastname').', '.lang('Firstname')
|
'all' => '['.lang('username').'] '.lang('Lastname').', '.lang('Firstname')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user