mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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)
|
switch($display)
|
||||||
{
|
{
|
||||||
case 'all':
|
case 'all':
|
||||||
$name = "<$lid> ";
|
$name = '['.$lid.'] ';
|
||||||
// fall-through
|
// fall-through
|
||||||
case 'lastname':
|
case 'lastname':
|
||||||
$name .= implode(', ',$a);
|
$name .= implode(', ',$a);
|
||||||
break;
|
break;
|
||||||
|
case 'firstall':
|
||||||
|
$name = $firstname . ' ' . $lastname . ' ['.$lid.']';
|
||||||
|
break;
|
||||||
case 'firstname':
|
case 'firstname':
|
||||||
default:
|
default:
|
||||||
$name = $firstname . ' ' . $lastname;
|
$name = $firstname . ' ' . $lastname;
|
||||||
|
@ -128,7 +128,8 @@
|
|||||||
'firstname' => lang('Firstname'). ' '.lang('Lastname'),
|
'firstname' => lang('Firstname'). ' '.lang('Lastname'),
|
||||||
'lastname' => lang('Lastname').', '.lang('Firstname'),
|
'lastname' => lang('Lastname').', '.lang('Firstname'),
|
||||||
'username' => lang('username'),
|
'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,
|
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.');
|
'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