| @@ 357-363 (lines=7) @@ | ||
| 354 | $data .= str_replace("\r\n",' ',api_html_entity_decode(strip_tags($row['email']), ENT_QUOTES, $charset)).';'; |
|
| 355 | $data .= str_replace("\r\n",' ',implode(", ", GroupManager :: get_user_group_name($row['user_id']))).';'; |
|
| 356 | ||
| 357 | if ($export_user_fields) { |
|
| 358 | //show user fields data, if any, for this user |
|
| 359 | $user_fields_values = UserManager::get_extra_user_data($row['user_id'],false,false, false, true); |
|
| 360 | foreach($user_fields_values as $value) { |
|
| 361 | $data .= '"'.str_replace('"','""',api_html_entity_decode(strip_tags($value), ENT_QUOTES, $charset)).'";'; |
|
| 362 | } |
|
| 363 | } |
|
| 364 | ||
| 365 | $data .= str_replace("\r\n",' ',api_html_entity_decode(strip_tags($row['title']), ENT_QUOTES, $charset)).';'; |
|
| 366 | $data .= str_replace("\r\n",' ',$row['start_date']).';'; |
|
| @@ 3021-3027 (lines=7) @@ | ||
| 3018 | $return .= '-;'; // The user column |
|
| 3019 | } |
|
| 3020 | ||
| 3021 | if ($display_extra_user_fields) { |
|
| 3022 | // Show user fields data, if any, for this user |
|
| 3023 | $user_fields_values = UserManager::get_extra_user_data($user,false,false, false, true); |
|
| 3024 | foreach ($user_fields_values as & $value) { |
|
| 3025 | $return .= '"'.str_replace('"', '""', api_html_entity_decode(strip_tags($value), ENT_QUOTES)).'";'; |
|
| 3026 | } |
|
| 3027 | } |
|
| 3028 | ||
| 3029 | if (is_array($possible_options)) { |
|
| 3030 | foreach ($possible_options as $question_id => $possible_option) { |
|