Minor - format code, add license

pull/2487/head
jmontoyaa 9 years ago
parent 27dda901e3
commit f65ccc774e
  1. 3
      main/exercise/export/exercise_import.inc.php
  2. 1
      plugin/studentfollowup/my_students.php

@ -860,7 +860,6 @@ function endElementQti1($parser, $name, $attributes)
}
//treat the record of the full content of itembody tag :
if ($record_item_body && (!in_array($current_element, $non_HTML_tag_to_avoid))) {
$current_question_item_body .= "</".$name.">";
}
@ -1002,7 +1001,6 @@ function elementDataQti1($parser, $data)
$exercise_info['question'][$current_question_ident]['weighting'][$lastLabelFieldValue] = $data;
}
break;
}
}
@ -1016,6 +1014,7 @@ function isQtiQuestionBank($filePath)
$data = file_get_contents($filePath);
if (!empty($data)) {
$match = preg_match('/ims_qtiasiv(\d)p(\d)/', $data);
// @todo allow other types
//$match2 = preg_match('/imsqti_v(\d)p(\d)/', $data);
if ($match) {

@ -1,4 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
use Doctrine\Common\Collections\Criteria;
use Doctrine\ORM\Tools\Pagination\Paginator;

Loading…
Cancel
Save