Users par Nom puis Prénom
This commit is contained in:
parent
88acbae810
commit
9ae150f3aa
@ -736,7 +736,7 @@ class course extends common
|
|||||||
}
|
}
|
||||||
self::$courseUsers[] = [
|
self::$courseUsers[] = [
|
||||||
//$userId,
|
//$userId,
|
||||||
$this->getData(['user', $userId, 'firstname']) . ' ' . $this->getData(['user', $userId, 'lastname']),
|
sprintf('%s %s',$this->getData(['user', $userId, 'lastname']), $this->getData(['user', $userId, 'firstname'])),
|
||||||
array_key_exists('lastPageView', $userValue) && isset($pages[$userValue['lastPageView']]['title'])
|
array_key_exists('lastPageView', $userValue) && isset($pages[$userValue['lastPageView']]['title'])
|
||||||
? $pages[$userValue['lastPageView']]['title']
|
? $pages[$userValue['lastPageView']]['title']
|
||||||
: '',
|
: '',
|
||||||
|
@ -685,7 +685,7 @@ class user extends common
|
|||||||
// Formatage de la liste
|
// Formatage de la liste
|
||||||
self::$users[] = [
|
self::$users[] = [
|
||||||
//$userId,
|
//$userId,
|
||||||
$this->getData(['user', $userId, 'firstname']) . ' ' . $userLastNames,
|
sprintf('%s %s',$userLastNames, $this->getData(['user', $userId, 'firstname'])),
|
||||||
helper::translate(self::$groups[(int) $this->getData(['user', $userId, 'group'])]),
|
helper::translate(self::$groups[(int) $this->getData(['user', $userId, 'group'])]),
|
||||||
empty($this->getData(['profil', $this->getData(['user', $userId, 'group']), $this->getData(['user', $userId, 'profil']), 'name']))
|
empty($this->getData(['profil', $this->getData(['user', $userId, 'group']), $this->getData(['user', $userId, 'profil']), 'name']))
|
||||||
? helper::translate(self::$groups[(int) $this->getData(['user', $userId, 'group'])])
|
? helper::translate(self::$groups[(int) $this->getData(['user', $userId, 'group'])])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user