mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-25 13:59:11 -04:00
Group Administration
This commit is contained in:
21
modules/user/views/admin_groups.html.php
Normal file
21
modules/user/views/admin_groups.html.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<? defined("SYSPATH") or die("No direct script access."); ?>
|
||||
<div class="gBlock">
|
||||
<h2>Group Administration</h2>
|
||||
<div class="gBlockContent">
|
||||
<p>These are the groups in your system</p>
|
||||
</div>
|
||||
<ul>
|
||||
<? foreach ($groups as $i => $group): ?>
|
||||
<li>
|
||||
<?= $group->name ?>
|
||||
<a href="groups/edit/<?= $group->id ?>" class="gDialogLink">edit</a>
|
||||
<? if (!$group->special): ?>
|
||||
<a href="groups/delete/<?= $group->id ?>" class="gDialogLink">delete</a>
|
||||
<? endif ?>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<li><a href="groups/create" class="gDialogLink">Add group</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user