|
|
|
@ -106,8 +106,8 @@ echo '<div id="social-content">'; |
|
|
|
|
foreach($users as $user) { |
|
|
|
|
switch ($user['relation_type']) { |
|
|
|
|
case GROUP_USER_PERMISSION_PENDING_INVITATION_SENT_BY_USER: |
|
|
|
|
$user['link'] = '<a href="group_waiting_list.php?id='.$group_id.'&u='.$user['user_id'].'&action=accept">'.Display::return_icon('add_user.gif', get_lang('Accept')).'</a>'; |
|
|
|
|
$user['link'] .= '<a href="group_waiting_list.php?id='.$group_id.'&u='.$user['user_id'].'&action=set_moderator">'.Display::return_icon('add_teacher_big.gif', get_lang('Moderator')).'</a>'; |
|
|
|
|
$user['link'] = '<a href="group_waiting_list.php?id='.$group_id.'&u='.$user['user_id'].'&action=accept">'.Display::return_icon('add_normal_user.png', get_lang('Accept')).'</a>'; |
|
|
|
|
$user['link'] .= '<a href="group_waiting_list.php?id='.$group_id.'&u='.$user['user_id'].'&action=set_moderator">'.Display::return_icon('add_moderator.png', get_lang('Moderator')).'</a>'; |
|
|
|
|
$user['link'] .= '<a href="group_waiting_list.php?id='.$group_id.'&u='.$user['user_id'].'&action=deny">'.Display::return_icon('delete.gif', get_lang('Deny')).'</a>'; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|