function printContent() { ?> <table border="0"> <tr bgcolor="<?=BGCOLOR_ALT?>"> <th>#</th> <? if (SecurityUser::havePermission("DELETE")) { ?> <th></th> <? } ?> <th><?=Text::getText("FullName")?></th> <th><?=Text::getText("LoginName")?></th> </tr> <? $bg = TRUE; ?> <? foreach ($this->users as $u) { ?> <? $bg = !$bg; ?> <tr<? if ($bg) { ?> bgcolor="<?=BGCOLOR_ALT?>"<? } ?>> <td> <?=$u->getId()?> </td> <? if (SecurityUser::havePermission("DELETE")) { ?> <td><a href="<?=$this->userDeletePage?>?<?=$this->userDeleteUserParam?>=<?=$u->getId()?>" onClick="return confirm('<?=Text::getText('ConfirmDeleteUser')?>\n\n<?=$u->getLoginName()?>')"><img src="<?=IMAGE_TRASH?>" border="0" alt="<?=Text::getText('Delete')?>"></a></td> <? } ?> <td> <?=$u->getFullName()?> </td> <td> <a href="<?=$this->getUserPage()?>?id=<?=$u->getId()?>"><?=$u->getLoginName()?></a> </td> </tr> <? } ?> </table> <? }
</a> </td> </tr> <? } ?> <tr class="navitem"> <td class="navitem"> <a href="<?php echo $smellyfish_base_uri; ?> options.php"><?php echo Text::getText("Options"); ?> </a> </td> </tr> <? if (SecurityUser::havePermission("VIEW")) { ?> <tr class="navitem"> <td class="navitem"> <a href="<?php echo $smellyfish_base_uri; ?> users.php"><?php echo Text::getText("Users"); ?> </a> </td> </tr> <? } ?> <? if (SecurityGroup::havePermission("VIEW")) { ?> <tr class="navitem"> <td class="navitem">
echo Text::getText("Delete"); ?> "></a></td> <? } ?> <td> <?php echo $u->getFullName(); ?> </td> <td> <a href="<?php echo $u->href(); ?> "><?php echo $u->getLoginName(); ?> </a> </td> <? if (SecurityUser::havePermission("CHANGE")) { ?> <td> <a href="userEdit.php?id=<?php echo $u->getId(); ?> "><?php echo Text::getText("Edit"); ?> </a> </td> <? } ?> </tr> <? } ?> </table> <? if (SecurityUSer::havePermission("ADD")) { ?> <h3><?php echo Text::getText("AddUser");