mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Upped memory limit of limesurvey to 128
Added multiplier for long text boxes and line colour specifier to queXMLPDF Will only export case_id and date fields in queXML when not outputting to a PDF
This commit is contained in:
@@ -495,6 +495,12 @@ while ($Row = $QueryResult->FetchRow())
|
||||
$questionnaire->append_child($section);
|
||||
}
|
||||
|
||||
|
||||
$dom->append_child($questionnaire);
|
||||
|
||||
|
||||
if (!(isset($noheader) && $noheader == true))
|
||||
{
|
||||
//Add caseid field
|
||||
|
||||
$section = $dom->create_element("section");
|
||||
@@ -522,13 +528,6 @@ while ($Row = $QueryResult->FetchRow())
|
||||
|
||||
$questionnaire->append_child($section);
|
||||
|
||||
|
||||
$dom->append_child($questionnaire);
|
||||
|
||||
$quexml = $dom->dump_mem(true,'UTF-8');
|
||||
|
||||
if (!(isset($noheader) && $noheader == true))
|
||||
{
|
||||
$fn = "survey_$surveyid.xml";
|
||||
header("Content-Type: application/download");
|
||||
header("Content-Disposition: attachment; filename=$fn");
|
||||
@@ -537,7 +536,9 @@ if (!(isset($noheader) && $noheader == true))
|
||||
Header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
|
||||
header("Pragma: no-cache"); // HTTP/1.0
|
||||
|
||||
echo $quexml;
|
||||
echo $dom->dump_mem(true,'UTF-8');
|
||||
exit();
|
||||
}
|
||||
|
||||
$quexml = $dom->dump_mem(true,'UTF-8');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user