mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
added an other display-type for accounts: Firstname Lastname [lid]
changed < > into [ ]
This commit is contained in:
parent
e152c6727d
commit
06489ff747
@ -429,11 +429,14 @@
|
||||
switch($display)
|
||||
{
|
||||
case 'all':
|
||||
$name = "<$lid> ";
|
||||
$name = '['.$lid.'] ';
|
||||
// fall-through
|
||||
case 'lastname':
|
||||
$name .= implode(', ',$a);
|
||||
break;
|
||||
case 'firstall':
|
||||
$name = $firstname . ' ' . $lastname . ' ['.$lid.']';
|
||||
break;
|
||||
case 'firstname':
|
||||
default:
|
||||
$name = $firstname . ' ' . $lastname;
|
||||
|
@ -128,7 +128,8 @@
|
||||
'firstname' => lang('Firstname'). ' '.lang('Lastname'),
|
||||
'lastname' => lang('Lastname').', '.lang('Firstname'),
|
||||
'username' => lang('username'),
|
||||
'all' => '<'.lang('username').'> '.lang('Lastname').', '.lang('Firstname')
|
||||
'firstall' => lang('Firstname').' '.lang('Lastname').' ['.lang('username').']',
|
||||
'all' => '['.lang('username').'] '.lang('Lastname').', '.lang('Firstname')
|
||||
);
|
||||
create_select_box('How do you like to display accounts','account_display',$account_display,
|
||||
'Set this to your convenience. For security reasons, you might not want to show your Loginname in public.');
|
||||
|
Loading…
Reference in New Issue
Block a user