forked from ZwiiCMS-Team/ZwiiCampus
Améliore la table profil
This commit is contained in:
parent
45abb7fccc
commit
d14eb9f6a8
@ -1232,9 +1232,9 @@ class user extends common
|
||||
$item['nom'],
|
||||
$item['prenom'],
|
||||
self::$groups[$item['groupe']],
|
||||
($this->getData(['profil', $item['groupe'], $item['profil'], 'name']) !== null )
|
||||
? $this->getData(['profil', $item['groupe'], $item['profil'], 'name'])
|
||||
: $item['profil'],
|
||||
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'])])
|
||||
: $this->getData(['profil', $this->getData(['user', $userId, 'group']), $this->getData(['user', $userId, 'profil']), 'name']),
|
||||
$item['prenom'],
|
||||
helper::filter($item['email'], helper::FILTER_MAIL),
|
||||
$item['tags'],
|
||||
@ -1296,9 +1296,9 @@ class user extends common
|
||||
$item['nom'],
|
||||
$item['prenom'],
|
||||
self::$groups[$item['groupe']],
|
||||
($this->getData(['profil', $item['groupe'], $item['profil'], 'name']) !== null )
|
||||
? $this->getData(['profil', $item['groupe'], $item['profil'], 'name'])
|
||||
: $item['profil'],
|
||||
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'])])
|
||||
: $this->getData(['profil', $this->getData(['user', $userId, 'group']), $this->getData(['user', $userId, 'profil']), 'name']),
|
||||
$item['prenom'],
|
||||
$item['email'],
|
||||
$item['tags'],
|
||||
|
@ -25,7 +25,8 @@ $(document).ready((function () {
|
||||
|
||||
$('#dataTables').DataTable({
|
||||
language: {
|
||||
url: "core/vendor/datatables/french.json"
|
||||
url: "core/vendor/datatables/french.json",
|
||||
"paging": false
|
||||
}
|
||||
});
|
||||
}));
|
Loading…
Reference in New Issue
Block a user