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

Limesurvey to get template, mode and endurl from queXS when running in self complete mode

This commit is contained in:
Adam Zammit
2013-02-20 16:00:28 +11:00
parent bc56e10311
commit 8749df9a0c
3 changed files with 68 additions and 3 deletions

View File

@@ -15,6 +15,7 @@
if (!isset($homedir) || isset($_REQUEST['$homedir'])) {die("Cannot run this script directly");}
require_once("save.php"); // for supporting functions only
include_once("quexs.php"); //queXS funcitons
// $LEMdebugLevel - customizable debugging for Lime Expression Manager
$LEMdebugLevel=0; // LEM_DEBUG_TIMING; // (LEM_DEBUG_TIMING + LEM_DEBUG_VALIDATION_SUMMARY + LEM_DEBUG_VALIDATION_DETAIL);
@@ -37,7 +38,7 @@ if ($interviewer)
}
}
else
$surveyMode='survey';
$surveyMode=quexs_get_survey_mode($clienttoken);
$radix=getRadixPointData($thissurvey['surveyls_numberformat']);
$radix = $radix['seperator'];