bug fixed (related to feature 1668): remove link to user manager filtered on
group from group manager. This feature is less useful since member list is shown on group manager and filter feature not implemented yet on new user manager. git-svn-id: http://piwigo.org/svn/trunk@26117 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
0b4646602b
commit
a4fc23a940
2 changed files with 1 additions and 3 deletions
|
@ -389,7 +389,6 @@ $result = pwg_query($query);
|
|||
$admin_url = get_root_url().'admin.php?page=';
|
||||
$perm_url = $admin_url.'group_perm&group_id=';
|
||||
$del_url = $admin_url.'group_list&delete=';
|
||||
$members_url = $admin_url.'user_list&group=';
|
||||
$toggle_is_default_url = $admin_url.'group_list&toggle_is_default=';
|
||||
|
||||
while ($row = pwg_db_fetch_assoc($result))
|
||||
|
@ -416,7 +415,6 @@ SELECT username
|
|||
'NB_MEMBERS' => count($members),
|
||||
'L_MEMBERS' => implode(' <span class="userSeparator">·</span> ', $members),
|
||||
'MEMBERS' => l10n_dec('%d member', '%d members', count($members)),
|
||||
'U_MEMBERS' => $members_url.$row['id'],
|
||||
'U_DELETE' => $del_url.$row['id'].'&pwg_token='.get_pwg_token(),
|
||||
'U_PERM' => $perm_url.$row['id'],
|
||||
'U_ISDEFAULT' => $toggle_is_default_url.$row['id'].'&pwg_token='.get_pwg_token(),
|
||||
|
|
|
@ -96,7 +96,7 @@ $(document).ready(function() {
|
|||
{foreach from=$groups item=group name=group_loop}
|
||||
<li>
|
||||
<label><p>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i><input class="group_selection" name="group_selection[]" type="checkbox" value="{$group.ID}"></p></label>
|
||||
<p class="list_user">{if $group.MEMBERS>0}<a href="{$group.U_MEMBERS}" title="{'Manage the members'|@translate}">{$group.MEMBERS}</a><br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</p>
|
||||
<p class="list_user">{if $group.MEMBERS>0}{$group.MEMBERS}<br>{$group.L_MEMBERS}{else}{$group.MEMBERS}{/if}</p>
|
||||
<a class="icon-lock group_perm" href="{$group.U_PERM}" title="{'Permissions'|@translate}">{'Permissions'|translate}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
|
|
Loading…
Add table
Reference in a new issue