Ejemplo n.º 1
0
 function getContent()
 {
     $this->adminGatekeeper();
     // Admins only
     $users = User::get(array(), array(), 99999, 0);
     // TODO: make this more complete / efficient
     $remoteusers = RemoteUser::get(array(), array(), 99999, 0);
     $users = array_merge($users, $remoteusers);
     $invitations = Invitation::get();
     $t = \Idno\Core\site()->template();
     $t->body = $t->__(array('users' => $users, 'invitations' => $invitations))->draw('admin/users');
     $t->title = 'User Management';
     $t->drawPage();
 }