mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merged changes from vm line
This commit is contained in:
@@ -232,6 +232,8 @@ if ((isset($move) && $move == "movesubmit") && (!isset($notanswered) || !$notan
|
||||
$quexs_url = get_start_interview_url();
|
||||
$url = str_replace("{STARTINTERVIEWURL}", $quexs_url, $url);
|
||||
|
||||
$end_url = get_end_interview_url();
|
||||
$url = str_replace("{ENDINTERVIEWURL}", $end_url, $url);
|
||||
|
||||
|
||||
header("Location: {$url}");
|
||||
|
||||
@@ -309,8 +309,10 @@ if ((isset($move) && $move == "movesubmit") && (!isset($notanswered) || !$notan
|
||||
include_once("quexs.php");
|
||||
$quexs_url = get_start_interview_url();
|
||||
$url = str_replace("{STARTINTERVIEWURL}", $quexs_url, $url);
|
||||
|
||||
header("Location: {$url}");
|
||||
$end_url = get_end_interview_url();
|
||||
$url = str_replace("{ENDINTERVIEWURL}", $end_url, $url);
|
||||
|
||||
header("Location: {$url}");
|
||||
}
|
||||
|
||||
//if($thissurvey['printanswers'] != 'Y' && $thissurvey['usecookie'] != 'Y' && $tokensexist !=1)
|
||||
|
||||
@@ -687,6 +687,16 @@ function get_respondent_selection_url()
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the URL to end the interview
|
||||
*
|
||||
* @return string The URL to end the interview
|
||||
*/
|
||||
function get_end_interview_url()
|
||||
{
|
||||
return QUEXS_URL . "rs_project_end.php";
|
||||
}
|
||||
|
||||
/**
|
||||
* Get start interviewer URL
|
||||
*
|
||||
|
||||
@@ -189,6 +189,9 @@ if ((isset($move) && $move == "movesubmit") && (!isset($notanswered) || !$notans
|
||||
$quexs_url = get_start_interview_url();
|
||||
$url = str_replace("{STARTINTERVIEWURL}", $quexs_url, $url);
|
||||
|
||||
$end_url = get_end_interview_url();
|
||||
$url = str_replace("{ENDINTERVIEWURL}", $end_url, $url);
|
||||
|
||||
//Automatically redirect the page to the "url" setting for the survey
|
||||
session_write_close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user