|
|
|
@ -301,7 +301,7 @@ if ($ajax_search) { |
|
|
|
|
} |
|
|
|
|
//var_dump ($group_friend_list[$group_id]['relation_type']); |
|
|
|
|
if ($group_friend_list[$group_id]['relation_type'] == '' ) { |
|
|
|
|
$Users[$friend['friend_user_id']]=array('user_id' => $friend['friend_user_id'], 'firstname' =>$friend['firstName'], 'lasttname' => $friend['lastName'], 'username' =>$friend['username'],'group_id'=>$friend_group_id ); |
|
|
|
|
$Users[$friend['friend_user_id']]=array('user_id' => $friend['friend_user_id'], 'firstname' =>$friend['firstName'], 'lastname' => $friend['lastName'], 'username' =>$friend['username'],'group_id'=>$friend_group_id ); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -320,7 +320,6 @@ if ($ajax_search) { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($add_type == 'multiple') { |
|
|
|
|
$link_add_type_unique = '<a href="'.api_get_self().'?id='.$group_id.'&add='.Security::remove_XSS($_GET['add']).'&add_type=unique">'.Display::return_icon('single.gif').get_lang('SessionAddTypeUnique').'</a>'; |
|
|
|
|
$link_add_type_multiple = Display::return_icon('multiple.gif').get_lang('SessionAddTypeMultiple'); |
|
|
|
@ -482,7 +481,7 @@ if(!empty($errorMsg)) { |
|
|
|
|
<?php |
|
|
|
|
foreach($sessionUsersList as $enreg) { |
|
|
|
|
?> |
|
|
|
|
<option value="<?php echo $enreg['user_id']; ?>"><?php echo $enreg['firstname'].' '.$enreg['lastname'].' ('.$enreg['username'].')'; ?></option>
|
|
|
|
|
<option value="<?php echo $enreg['user_id']; ?>"><?php echo api_get_person_name($enreg['firstname'], $enreg['lastname']).' ('.$enreg['username'].')'; ?></option>
|
|
|
|
|
|
|
|
|
|
<?php |
|
|
|
|
} |
|
|
|
|