|
|
|
@ -383,14 +383,11 @@ if ($survey_data['form_fields'] != '' && |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// We use the same form as in auth/profile.php |
|
|
|
$url = api_get_self().'?cidReq='.$courseInfo['code'].'&id_session='.$sessionId.'&'. |
|
|
|
$form = new FormValidator( |
|
|
|
str_replace('&show_form=1', '&show_form=1', Security::remove_XSS($_SERVER['QUERY_STRING'])); |
|
|
|
'profile', |
|
|
|
|
|
|
|
'post', |
|
|
|
|
|
|
|
api_get_self()."?".api_get_cidreq().'&' |
|
|
|
|
|
|
|
.str_replace('&show_form=1', '&show_form=1', Security::remove_XSS($_SERVER['QUERY_STRING'])) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// We use the same form as in auth/profile.php |
|
|
|
|
|
|
|
$form = new FormValidator('profile', 'post', $url); |
|
|
|
if (api_is_western_name_order()) { |
|
|
|
if (api_is_western_name_order()) { |
|
|
|
if (isset($list['firstname']) && $list['firstname'] == 1) { |
|
|
|
if (isset($list['firstname']) && $list['firstname'] == 1) { |
|
|
|
//FIRST NAME |
|
|
|
//FIRST NAME |
|
|
|
|