Move view all users filter into edit friends.
This commit is contained in:
parent
8f5e9aac1f
commit
ad025a26a1
3 changed files with 9 additions and 0 deletions
|
|
@ -217,6 +217,10 @@ sub www_editFriends {
|
|||
if (! $groupName) {
|
||||
$var->{addManagers} = WebGUI::Form::checkbox($session, { name => 'addManagers', value => 'addManagers', });
|
||||
}
|
||||
if ($groupName) {
|
||||
$var->{groupName} = $groupName;
|
||||
$var->{viewAllUrl} = $self->getUrl('module=friendManager;do=editFriends;userId='.$userId);
|
||||
}
|
||||
return $self->processTemplate($var,$session->setting->get("fmEditTemplateId"));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -180,6 +180,11 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'view users from all groups' => {
|
||||
message => q{View users from all groups.},
|
||||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue