2
0
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:
azammitdcarf
2010-09-30 00:53:26 +00:00
parent a23e4984e3
commit cc64834bde
3 changed files with 12 additions and 10 deletions

View File

@@ -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');
?>