liam-linux-account-manager/views/users.php
2021-11-16 15:11:32 +01:00

12 lines
309 B
PHP

<?php
$content = new PageSection('users');
$content->set('users', $user_dir->list_users());
$content->set('admin', $active_user->admin);
$page = new PageSection('base');
$page->set('title', 'Users');
$page->set('content', $content);
$page->set('alerts', $active_user->pop_alerts());
echo $page->generate();