2009-01-01 00:23:29 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2008-12-26 06:14:24 +00:00
|
|
|
<div class="gBlock">
|
2009-01-08 17:13:06 +00:00
|
|
|
<h2><?= t("Group Administration") ?></h2>
|
2008-12-26 06:14:24 +00:00
|
|
|
<div class="gBlockContent">
|
2009-01-08 17:13:06 +00:00
|
|
|
<p><?= t("These are the groups in your system") ?></p>
|
2008-12-26 06:14:24 +00:00
|
|
|
</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<? foreach ($groups as $i => $group): ?>
|
2009-01-24 20:06:13 +00:00
|
|
|
<li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>">
|
2008-12-26 06:14:24 +00:00
|
|
|
<?= $group->name ?>
|
2008-12-26 20:34:56 +00:00
|
|
|
<a href="groups/edit_form/<?= $group->id ?>" class="gDialogLink"
|
2009-01-08 17:13:06 +00:00
|
|
|
title="<?= t("Edit group") ?>"><?= t("edit") ?></a>
|
2008-12-26 06:14:24 +00:00
|
|
|
<? if (!$group->special): ?>
|
2008-12-26 20:34:56 +00:00
|
|
|
<a href="groups/delete_form/<?= $group->id ?>" class="gDialogLink"
|
2009-01-15 10:02:41 +00:00
|
|
|
title="<?= t("Do you really want to delete %group_name", array("group_name" => $group->name)) ?>">
|
2009-01-08 17:13:06 +00:00
|
|
|
<?= t("delete") ?></a>
|
2008-12-26 06:14:24 +00:00
|
|
|
<? endif ?>
|
|
|
|
|
</li>
|
|
|
|
|
<? endforeach ?>
|
2008-12-26 20:34:56 +00:00
|
|
|
<li><a href="groups/add_form" class="gDialogLink"
|
2009-01-08 17:13:06 +00:00
|
|
|
title="<?= t("Add group") ?>"><?= t("Add group") ?></a></li>
|
2008-12-26 06:14:24 +00:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|