mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added AUTO_LOGOUT_MINUTES functionality to rs scripts
This commit is contained in:
@@ -54,7 +54,14 @@ $case_id = get_case_id($operator_id);
|
|||||||
$questionnaire_id = get_questionnaire_id($operator_id);
|
$questionnaire_id = get_questionnaire_id($operator_id);
|
||||||
$leavemessage = leave_message($case_id);
|
$leavemessage = leave_message($case_id);
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Answering machine"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Answering machine"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"),$js);
|
||||||
|
|
||||||
if ($leavemessage)
|
if ($leavemessage)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -44,7 +44,15 @@ include ("functions/functions.xhtml.php");
|
|||||||
*/
|
*/
|
||||||
include ("lang.inc.php");
|
include ("lang.inc.php");
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Business answers"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Business answers"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js));
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -54,7 +54,16 @@ include ("functions/functions.operator.php");
|
|||||||
*/
|
*/
|
||||||
include ("functions/functions.limesurvey.php");
|
include ("functions/functions.limesurvey.php");
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Call back"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Call back"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js );
|
||||||
|
|
||||||
$operator_id = get_operator_id();
|
$operator_id = get_operator_id();
|
||||||
$case_id = get_case_id($operator_id);
|
$case_id = get_case_id($operator_id);
|
||||||
|
|||||||
@@ -54,8 +54,15 @@ include ("functions/functions.operator.php");
|
|||||||
*/
|
*/
|
||||||
include ("functions/functions.limesurvey.php");
|
include ("functions/functions.limesurvey.php");
|
||||||
|
|
||||||
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Introduction"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Introduction"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js);
|
||||||
|
|
||||||
//display introduction text
|
//display introduction text
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,16 @@ include ("functions/functions.xhtml.php");
|
|||||||
include ("functions/functions.operator.php");
|
include ("functions/functions.operator.php");
|
||||||
|
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Project end"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Project end"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js);
|
||||||
|
|
||||||
$operator_id = get_operator_id();
|
$operator_id = get_operator_id();
|
||||||
$case_id = get_case_id($operator_id);
|
$case_id = get_case_id($operator_id);
|
||||||
|
|||||||
@@ -49,8 +49,14 @@ include ("functions/functions.xhtml.php");
|
|||||||
*/
|
*/
|
||||||
include ("functions/functions.operator.php");
|
include ("functions/functions.operator.php");
|
||||||
|
|
||||||
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Project Introduction"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Project Introduction"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js);
|
||||||
|
|
||||||
$operator_id = get_operator_id();
|
$operator_id = get_operator_id();
|
||||||
$case_id = get_case_id($operator_id);
|
$case_id = get_case_id($operator_id);
|
||||||
|
|||||||
@@ -49,8 +49,16 @@ include ("functions/functions.xhtml.php");
|
|||||||
*/
|
*/
|
||||||
include ("functions/functions.operator.php");
|
include ("functions/functions.operator.php");
|
||||||
|
|
||||||
|
$js = array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js")
|
||||||
|
|
||||||
xhtml_head(T_("Respondent Selection - Project Quota End"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), array("js/popup.js","include/jquery-ui/js/jquery-1.4.2.min.js","include/jquery-ui/js/jquery-ui-1.8.2.custom.min.js"));
|
if (AUTO_LOGOUT_MINUTES !== false)
|
||||||
|
{
|
||||||
|
$js[] = "js/childnap.js";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
xhtml_head(T_("Respondent Selection - Project Quota End"),true,array("css/rs.css","include/jquery-ui/css/smoothness/jquery-ui-1.8.2.custom.css"), $js);
|
||||||
|
|
||||||
$operator_id = get_operator_id();
|
$operator_id = get_operator_id();
|
||||||
$case_id = get_case_id($operator_id);
|
$case_id = get_case_id($operator_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user