You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
585 B
PHP

<?php
?>
<h1>Users</h1>
<table class="table">
<thead>
<tr>
<th>Username</th>
<th>Full name</th>
<th>Public keys</th>
</tr>
</thead>
<tbody>
<?php foreach($this->get('users') as $user) { ?>
<tr<?php if(!$user->active) out(' class="text-muted"', ESC_NONE) ?>>
<td><a href="<?php outurl('/users/'.urlencode($user->uid))?>" class="user<?php if(!$user->active) out(' text-muted') ?>"><?php out($user->uid)?></a></td>
<td><?php out($user->name)?></td>
<td><?php out(number_format(count($user->list_public_keys())))?></td>
</tr>
<?php } ?>
</tbody>
</table>