mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
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)
26 lines
858 B
PHP
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>
|
|
|
|
|