added router->path
This commit is contained in:
parent
10d56751e4
commit
c05aee49d5
|
@ -7,7 +7,7 @@
|
||||||
<th>First</th>
|
<th>First</th>
|
||||||
<th>Last</th>
|
<th>Last</th>
|
||||||
<th>Is Admin</th>
|
<th>Is Admin</th>
|
||||||
<th> </th>
|
<th colspan="2"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php foreach ($users as $userLine): ?>
|
<?php foreach ($users as $userLine): ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -22,11 +22,14 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="/admin/users/<?= $userLine->getNick(); ?>">edit</a>
|
<a href="<?= $router->path('app_admin_users_edit', vars: ['nick' => $userLine->getNick()]); ?>">edit</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="<?= $router->path('app_admin_users_delete', vars: ['nick' => $userLine->getNick()]); ?>">delete</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
<a href="/admin/users/add">Add User</a>
|
<a href="<?= $router->path('app_admin_users_add'); ?>">Add User</a>
|
||||||
|
|
||||||
<?php include dirname(path: __DIR__) . '/_footer.html.php' ?>
|
<?php include dirname(path: __DIR__) . '/_footer.html.php' ?>
|
||||||
|
|
Loading…
Reference in New Issue