forked from extern/egroupware
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
d6aaaf1f73
commit
2dc68b1c8d
@ -381,10 +381,13 @@ class common
|
||||
case 'lastall':
|
||||
$name = $lastname . $delimiter . $firstname . ' ['.$lid.']';
|
||||
break;
|
||||
case 'allfirst':
|
||||
$name = '['.$lid.'] ' . $firstname . ' ' . $lastname;
|
||||
break;
|
||||
case 'all':
|
||||
/* fall through */
|
||||
default:
|
||||
$name = '['.$lid.'] ' . $firstname . ' ' . $lastname;
|
||||
$name = '['.$lid.'] ' . $lastname . $delimiter . $firstname;
|
||||
}
|
||||
return $name;
|
||||
}
|
||||
|
@ -110,6 +110,7 @@
|
||||
'username' => lang('username'),
|
||||
'firstall' => lang('Firstname').' '.lang('Lastname').' ['.lang('username').']',
|
||||
'lastall' => lang('Lastname').', '.lang('Firstname').' ['.lang('username').']',
|
||||
'allfirst' => '['.lang('username').'] '.lang('Firstname'). ' '.lang('Lastname'),
|
||||
'all' => '['.lang('username').'] '.lang('Lastname').', '.lang('Firstname')
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user