2009-01-29 03:23:46 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-01-28 09:50:15 +00:00
|
|
|
<strong><?= $group->name?></strong>
|
2009-01-28 22:42:50 +00:00
|
|
|
<? if (!$group->special): ?>
|
2009-01-29 01:41:32 +00:00
|
|
|
<a href="<?= url::site("admin/users/delete_group_form/$group->id") ?>" class="gDialogLink"><?= t("delete") ?></a>
|
2009-01-28 22:42:50 +00:00
|
|
|
<? else: ?>
|
|
|
|
|
<span class="inactive" title="<?= t("This group cannot be deleted") ?>">
|
|
|
|
|
<?= t("delete") ?>
|
|
|
|
|
</span>
|
|
|
|
|
<? endif ?>
|
2009-01-28 09:50:15 +00:00
|
|
|
<ul>
|
|
|
|
|
<? foreach ($group->users as $i => $user): ?>
|
|
|
|
|
<li class="gUser">
|
|
|
|
|
<?= $user->name ?>
|
|
|
|
|
<? if (!$group->special): ?>
|
|
|
|
|
<a href="javascript:remove_user(<?= $user->id ?>, <?= $group->id ?>)">X</a>
|
|
|
|
|
<? endif ?>
|
|
|
|
|
</li>
|
|
|
|
|
<? endforeach ?>
|
|
|
|
|
</ul>
|