<? require_once("classes/SecurityGroup.php"); ?> <? require_once("classes/Text.php"); ?> <? include("header.php"); ?> <h2><?php echo Text::getText("Groups"); ?> </h2> <? $allGroups = SecurityGroup::getAll(); ?> <table border="0"> <tr> <th>#</th> <? if (SecurityGroup::havePermission("DELETE")) { ?> <th></th> <? } ?> <th><?php echo Text::getText("Name"); ?> </th> </tr> <? $bg = FALSE; ?> <? foreach ($allGroups as $g) { ?> <? $bg = !$bg; ?> <tr<? if ($bg) { ?> class="alt"<? } ?>> <td> <?php echo $g->getId(); ?> </td> <? if (SecurityGroup::havePermission("DELETE")) { ?>