Files
gallery3/modules/user/views/admin_groups.html.php
Bharat Mediratta cd1d023754 Change the preamble for views in two ways:
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
   have short_tags enabled (the app won't work, but we need to make sure that we're
   still secure)
2009-01-01 00:23:29 +00:00

26 lines
858 B
PHP

<?php 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_form/<?= $group->id ?>" class="gDialogLink"
title="<?= _("Edit group") ?>"><?= _("edit") ?></a>
<? if (!$group->special): ?>
<a href="groups/delete_form/<?= $group->id ?>" class="gDialogLink"
title="<?= sprintf(_("Do you really want to delete %s"), $group->name) ?>">
<?= _("delete") ?></a>
<? endif ?>
</li>
<? endforeach ?>
<li><a href="groups/add_form" class="gDialogLink"
title="<?= _("Add group") ?>"><?= _("Add group") ?></a></li>
</ul>
</div>