/application/views/scripts/user/list.phtml
Unknown | 31 lines | 30 code | 1 blank | 0 comment | 0 complexity | f9f7e3d99e6bda19ad42be5fef42cf37 MD5 | raw file
Possible License(s): AGPL-1.0
1<?php $this->layout()->setLayout('page'); ?>
2
3<h3>Current Users</h3>
4<?php
5 if ($this->users != null)
6 {
7?>
8 <table>
9 <thead>
10 <tr>
11 <th>Links</th>
12 <th>Last Name</th>
13 <th>First Name</th>
14 <th>Username</th>
15 <th>Role</th>
16 </tr>
17 </thead>
18 <tbody>
19 <?php echo $this->partialLoop('partials/_user-row.phtml', $this->users); ?>
20 </tbody>
21 </table>
22<?php
23 }
24 else
25 {
26?>
27<p>You do not have any users yet.</p>
28<?php
29 }
30?>
31<p><a href="/user/create">Create a new user</a></p>