( $basiclti_tool_row['launchinpopup'] == 2 && $basiclti_content_row['launchinpopup'] == 1 ) ) {
// return '<script type="text/javascript">window.open("'.$myurl.'");</script>'."\n";
/*****************
- * The ID in the next bit of is temporary until we can add the box style to ATutor and
+ * The ID in the next bit is temporary until we can add the box style to ATutor and
* change the ID value to content-tool. In the meantime this will fail validation if tools and
* tests or forums are also present for the content page
**********************/
function basiclti_content_convert($row, $course_id, $table_id_map, $version) {
$new_row = array();
- $new_row[0] = $row[0];
+ //$new_row[0] = $row[0];
+ $new_row[0] = 0;
$new_row[1] = $table_id_map['content'][$row[1]];
$new_row[2] = $course_id;
$new_row[3] = $row[3]; //
}
function basiclti_tools_convert($row, $course_id, $table_id_map, $version) {
$new_row = array();
- $new_row[0] = $row[0]; //
+ //$new_row[0] = $row[0]; //
+ $new_row[0] = 0; //
$new_row[1] = $row[1]; //
$new_row[2] = $course_id;
$new_row[3] = $row[3]; //