diff options
author | plegall <plg@piwigo.org> | 2013-12-23 12:56:34 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-12-23 12:56:34 +0000 |
commit | a4fc23a9408d69768de6990e42fce143a24afaed (patch) | |
tree | 9ef10d3a835716e9a0c8022cddc1be7fd9d87978 | |
parent | 0b4646602b992ae4ac7fba79e8bf8e936a67a422 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | admin/group_list.php | 2 | ||||
-rw-r--r-- | admin/themes/default/template/group_list.tpl | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/admin/group_list.php b/admin/group_list.php index ebdda4ab3..d5fa0c05c 100644 --- a/admin/group_list.php +++ b/admin/group_list.php @@ -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(), diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl index 726cb2c33..0d2d727d1 100644 --- a/admin/themes/default/template/group_list.tpl +++ b/admin/themes/default/template/group_list.tpl @@ -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} |