| @@ 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']).';'; |
|
| @@ 2971-2977 (lines=7) @@ | ||
| 2968 | $return .= '-;'; // The user column |
|
| 2969 | } |
|
| 2970 | ||
| 2971 | if ($display_extra_user_fields) { |
|
| 2972 | // Show user fields data, if any, for this user |
|
| 2973 | $user_fields_values = UserManager::get_extra_user_data($user,false,false, false, true); |
|
| 2974 | foreach ($user_fields_values as & $value) { |
|
| 2975 | $return .= '"'.str_replace('"', '""', api_html_entity_decode(strip_tags($value), ENT_QUOTES)).'";'; |
|
| 2976 | } |
|
| 2977 | } |
|
| 2978 | ||
| 2979 | if (is_array($possible_options)) { |
|
| 2980 | foreach ($possible_options as $question_id => $possible_option) { |
|