|
@@ -5,7 +5,7 @@
|
|
|
*
|
|
|
* Release Notes:
|
|
|
* - v 4.9.3 2020/01/16
|
|
|
- * + Several fixes to allow to move activities in a block and improvements in repository
|
|
|
+ * + Several fixes to allow to move activities in a block and improvements in repository and to appear comment submission button
|
|
|
*
|
|
|
* - v 4.9.2 2019/03/13
|
|
|
* + Several fixes to allow iLM under HTML stack
|
|
@@ -1948,28 +1948,23 @@ class iassign {
|
|
|
$output .= $ilm->view_iLM($iassign_statement_activity_item, $student_answer, $enderecoPOST, $loadTeacherActivity); // presents iLM
|
|
|
}
|
|
|
|
|
|
- if ($iassign_statement_activity_item->type_iassign == 3) {
|
|
|
- $history_comment = '';
|
|
|
- if ($iassign_submission) {
|
|
|
- $history_comment = $this->search_comment_submission($iassign_submission->id);
|
|
|
- }
|
|
|
-
|
|
|
- if (!empty($history_comment)) {
|
|
|
- $output .= "\n <table id='outlinetable' class='generaltable boxaligncenter' cellpadding='5' width='100%'>\n" .
|
|
|
- " <tr><th>" . get_string('history_comments', 'iassign') . "</th></tr>\n"; //
|
|
|
- $output .= $history_comment;
|
|
|
- $output .= "</table>\n";
|
|
|
- }
|
|
|
- $output .= "</form></center>\n";
|
|
|
- $output .= $OUTPUT->box_end();
|
|
|
- print $output;
|
|
|
-
|
|
|
- $only_one_send_button = 1; // avoid put comment frame again (bellow)
|
|
|
-
|
|
|
- } else { // if ($iassign_statement_activity_item->type_iassign == 3)
|
|
|
- $output .= $OUTPUT->box_end();
|
|
|
- print $output;
|
|
|
- }
|
|
|
+ //1 if ($iassign_statement_activity_item->type_iassign == 3) {
|
|
|
+ //1 $history_comment = '';
|
|
|
+ //1 if ($iassign_submission) {
|
|
|
+ //1 $history_comment = $this->search_comment_submission($iassign_submission->id);
|
|
|
+ //1 }
|
|
|
+ //1 if (!empty($history_comment)) {
|
|
|
+ //1 $output .= "\n <table id='outlinetable' class='generaltable boxaligncenter' cellpadding='5' width='100%'>\n" .
|
|
|
+ //1 " <tr><th>" . get_string('history_comments', 'iassign') . "</th></tr>\n"; //
|
|
|
+ //1 $output .= $history_comment;
|
|
|
+ //1 $output .= "</table>\n";
|
|
|
+ //1 }
|
|
|
+ //1 $output .= "</form></center>\n";
|
|
|
+ //1 $only_one_send_button = 1; // avoid put comment frame again (bellow)
|
|
|
+ //1 }
|
|
|
+
|
|
|
+ $output .= $OUTPUT->box_end();
|
|
|
+ print $output;
|
|
|
} // if ($this->view_iassign)
|
|
|
|
|
|
print $OUTPUT->box_end(); // Box 5 to 'proposition' - close
|