38 lines
927 B
PHP
38 lines
927 B
PHP
<?php $this->load->view('header');?>
|
|
|
|
<div id="content">
|
|
|
|
<div class="title">
|
|
<h2><?=_('Users');?></h2>
|
|
</div>
|
|
|
|
<div class="box">
|
|
<h3><?=_('Available users');?></h3>
|
|
<table class="tableList paginated">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col"><?=_('Username');?></th>
|
|
<th scope="col"><?=_('Full name');?></th>
|
|
<th scope="col"><?=_('Actions');?></th>
|
|
</tr>
|
|
</thead>
|
|
<?php
|
|
foreach ($users as $user):
|
|
?>
|
|
<tr>
|
|
<td><?=$user['username'];?></td>
|
|
<td><?=$user['firstname'];?> <?=$user['lastname'];?></td>
|
|
<td><?=anchor('users/edit/' . $user['id'], _('Edit'));?> | <a href="javascript:deleteConfirm('<?=site_url('users/delete/' . $user['id']);?>');"><?=_('Delete');?></a></td>
|
|
</tr>
|
|
<?php
|
|
endforeach;
|
|
?>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p><a class="button add" href="<?=site_url('users/create')?>"><?=_('Create new user')?></a>
|
|
</div>
|
|
</div>
|
|
|
|
<?php $this->load->view('footer');?>
|