mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-22 15:53:50 -04:00
Drop short_tags
This commit is contained in:
@@ -3,38 +3,38 @@
|
||||
<a href="<?= url::site("admin/users/edit_group_form/$group->id") ?>"
|
||||
title="<?= t("Edit the %name group's name", array("name" => $group->name))->for_html_attr() ?>"
|
||||
class="g-dialog-link"><?= html::clean($group->name) ?></a>
|
||||
<? if (!$group->special): ?>
|
||||
<?php if (!$group->special): ?>
|
||||
<a href="<?= url::site("admin/users/delete_group_form/$group->id") ?>"
|
||||
title="<?= t("Delete the %name group", array("name" => $group->name))->for_html_attr() ?>"
|
||||
class="g-dialog-link g-button g-right">
|
||||
<span class="ui-icon ui-icon-trash"><?= t("Delete") ?></span></a>
|
||||
<? else: ?>
|
||||
<?php else: ?>
|
||||
<a title="<?= t("This default group cannot be deleted")->for_html_attr() ?>"
|
||||
class="g-button g-right ui-state-disabled ui-icon-left">
|
||||
<span class="ui-icon ui-icon-trash"><?= t("Delete") ?></span></a>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
</h4>
|
||||
|
||||
<? if ($group->users->count_all() > 0): ?>
|
||||
<?php if ($group->users->count_all() > 0): ?>
|
||||
<ul class="g-member-list">
|
||||
<? foreach ($group->users->order_by("name", "ASC")->find_all() as $i => $user): ?>
|
||||
<?php foreach ($group->users->order_by("name", "ASC")->find_all() as $i => $user): ?>
|
||||
<li class="g-user">
|
||||
<?= html::clean($user->name) ?>
|
||||
<? if (!$group->special): ?>
|
||||
<?php if (!$group->special): ?>
|
||||
<a href="javascript:remove_user(<?= $user->id ?>, <?= $group->id ?>)"
|
||||
class="g-button g-right ui-state-default ui-corner-all ui-icon-left"
|
||||
title="<?= t("Remove %user from %group group",
|
||||
array("user" => $user->name, "group" => $group->name))->for_html_attr() ?>">
|
||||
<span class="ui-icon ui-icon-closethick"><?= t("Remove") ?></span>
|
||||
</a>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<? else: ?>
|
||||
<?php else: ?>
|
||||
<div>
|
||||
<p class="ui-state-disabled">
|
||||
<?= t("Drag & drop users from the \"Users\" list onto this group to add group members.") ?>
|
||||
</p>
|
||||
</div>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
|
||||
Reference in New Issue
Block a user