diff --git a/include/limesurvey/quexs.php b/include/limesurvey/quexs.php index 7193d65f..d6650a55 100644 --- a/include/limesurvey/quexs.php +++ b/include/limesurvey/quexs.php @@ -632,7 +632,10 @@ function quexs_core_replace() $core['PERCCOMPLETE'] = round(get_percent_complete($case_id),0); $core['ENDINTERVIEWURL'] = get_end_interview_url(); $core['STARTINTERVIEWURL'] = get_start_interview_url(); - + $core['OPERATOR:FIRSTNAME'] = get_operator_variable('firstName',$operator_id); + $core['OPERATOR:LASTNAME'] = get_operator_variable('lastName',$operator_id); + $core['RESPONDENT:FIRSTNAME'] = get_respondent_variable('firstName',$respondent_id); + $core['RESPONDENT:LASTNAME'] = get_respondent_variable('lastName',$respondent_id); return $core; } diff --git a/status.php b/status.php index 08963f84..e23ea28f 100644 --- a/status.php +++ b/status.php @@ -76,7 +76,7 @@ if (AUTO_LOGOUT_MINUTES !== false) xhtml_head(T_("Status"),true,array("css/status.css"),$js,$btext,60); -print "
" . get_operator_time($operator_id,"%a %d %b %h:%i%p") ."
"; +print "
" . get_operator_time($operator_id,DATE_TIME_FORMAT) ."
"; //need to determine VoIP status by confirming with the VoIP server if this operator is online @@ -124,7 +124,7 @@ else if ($state == 3) $ca = get_call_attempt($operator_id,false); if ($ca) { - print "
" . get_respondent_time(get_respondent_id($ca),"%h:%i%p") ."
"; + print "
" . get_respondent_time(get_respondent_id($ca),TIME_FORMAT) ."
"; if (is_on_appointment($ca)) print "
" . T_("APPT") . "
"; if (missed_appointment($ca)) print "
" . T_("MISSED") . "
"; }