mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the Limesurvey 1.91+ branch of queXS in to the trunk
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<?php
|
||||
/*
|
||||
* LimeSurvey
|
||||
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
|
||||
* All rights reserved.
|
||||
* License: GNU/GPL License v2 or later, see LICENSE.php
|
||||
* LimeSurvey is free software. This version may have been modified pursuant
|
||||
* to the GNU General Public License, and as distributed it includes or
|
||||
* is derivative of works licensed under the GNU General Public License or
|
||||
* other free or open source software licenses.
|
||||
* See COPYRIGHT.php for copyright notices and details.
|
||||
*
|
||||
* $Id: load.php 6805 2009-05-09 12:38:49Z c_schmitz $
|
||||
*/
|
||||
* LimeSurvey
|
||||
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
|
||||
* All rights reserved.
|
||||
* License: GNU/GPL License v2 or later, see LICENSE.php
|
||||
* LimeSurvey is free software. This version may have been modified pursuant
|
||||
* to the GNU General Public License, and as distributed it includes or
|
||||
* is derivative of works licensed under the GNU General Public License or
|
||||
* other free or open source software licenses.
|
||||
* See COPYRIGHT.php for copyright notices and details.
|
||||
*
|
||||
* $Id: load.php 8933 2010-07-13 15:26:17Z lemeur $
|
||||
*/
|
||||
|
||||
//Security Checked: POST, GET, SESSION, REQUEST, returnglobal, DB
|
||||
|
||||
@@ -26,30 +26,34 @@ sendcacheheaders();
|
||||
doHeader();
|
||||
foreach(file("$thistpl/startpage.pstpl") as $op)
|
||||
{
|
||||
echo templatereplace($op);
|
||||
echo templatereplace($op);
|
||||
}
|
||||
echo "\n\n<!-- JAVASCRIPT FOR CONDITIONAL QUESTIONS -->\n"
|
||||
."\t<script type='text/javascript'>\n"
|
||||
."\t\tfunction checkconditions(value, name, type)\n"
|
||||
."\t\t\t{\n"
|
||||
."\t\t\t}\n"
|
||||
."function checkconditions(value, name, type)\n"
|
||||
."\t{\n"
|
||||
."\t}\n"
|
||||
."\t</script>\n\n";
|
||||
|
||||
echo "<form method='post' action='$relativeurl/index.php'>\n";
|
||||
foreach(file("$thistpl/load.pstpl") as $op)
|
||||
{
|
||||
echo templatereplace($op);
|
||||
echo templatereplace($op);
|
||||
}
|
||||
//PRESENT OPTIONS SCREEN (Replace with Template Later)
|
||||
//END
|
||||
//echo "<input type='hidden' name='PHPSESSID' value='".session_id()."'>\n";
|
||||
echo "<input type='hidden' name='sid' value='$surveyid' />\n";
|
||||
echo "<input type='hidden' name='loadall' value='reload' />\n";
|
||||
if (isset($clienttoken) && $clienttoken != "")
|
||||
{
|
||||
echo "<input type='hidden' name='token' value='$clienttoken' />\n";
|
||||
}
|
||||
echo "</form>";
|
||||
|
||||
foreach(file("$thistpl/endpage.pstpl") as $op)
|
||||
{
|
||||
echo templatereplace($op);
|
||||
echo templatereplace($op);
|
||||
}
|
||||
doFooter();
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user