| @@ 356-362 (lines=7) @@ | ||
| 353 | $data .= str_replace("\r\n",' ',api_html_entity_decode(strip_tags($row['email']), ENT_QUOTES, $charset)).';'; |
|
| 354 | $data .= str_replace("\r\n",' ',implode(", ", GroupManager :: get_user_group_name($row['user_id']))).';'; |
|
| 355 | ||
| 356 | if ($export_user_fields) { |
|
| 357 | //show user fields data, if any, for this user |
|
| 358 | $user_fields_values = UserManager::get_extra_user_data($row['user_id'],false,false, false, true); |
|
| 359 | foreach($user_fields_values as $value) { |
|
| 360 | $data .= '"'.str_replace('"','""',api_html_entity_decode(strip_tags($value), ENT_QUOTES, $charset)).'";'; |
|
| 361 | } |
|
| 362 | } |
|
| 363 | ||
| 364 | $data .= str_replace("\r\n",' ',api_html_entity_decode(strip_tags($row['title']), ENT_QUOTES, $charset)).';'; |
|
| 365 | $data .= str_replace("\r\n",' ',$row['start_date']).';'; |
|
| @@ 2992-2998 (lines=7) @@ | ||
| 2989 | $return .= '-;'; // The user column |
|
| 2990 | } |
|
| 2991 | ||
| 2992 | if ($display_extra_user_fields) { |
|
| 2993 | // Show user fields data, if any, for this user |
|
| 2994 | $user_fields_values = UserManager::get_extra_user_data($user,false,false, false, true); |
|
| 2995 | foreach ($user_fields_values as & $value) { |
|
| 2996 | $return .= '"'.str_replace('"', '""', api_html_entity_decode(strip_tags($value), ENT_QUOTES)).'";'; |
|
| 2997 | } |
|
| 2998 | } |
|
| 2999 | ||
| 3000 | if (is_array($possible_options)) { |
|
| 3001 | foreach ($possible_options as $question_id => $possible_option) { |
|