2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Replace date time hardcoding with defaults from config

Add operator and respondent details to core replacements in Limesurvey expression manager (need to use capitalisation)
This commit is contained in:
Adam Zammit
2013-03-27 11:02:23 +11:00
parent c3e5570444
commit 7cb7de5d16
2 changed files with 6 additions and 3 deletions

View File

@@ -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;
}