MDL-19805 Converted print_box* to $OUTPUT->box*
This commit is contained in:
+2
-2
@@ -44,7 +44,7 @@
|
||||
if ($form = data_submitted() && has_capability('mod/choice:choose', $context)) {
|
||||
$timenow = time();
|
||||
if (has_capability('mod/choice:deleteresponses', $context)) {
|
||||
if ($action == 'delete') { //some responses need to be deleted
|
||||
if ($action == 'delete') { //some responses need to be deleted
|
||||
choice_delete_responses($attemptids, $choice->id); //delete responses.
|
||||
redirect("view.php?id=$cm->id");
|
||||
}
|
||||
@@ -80,7 +80,7 @@
|
||||
echo '<div class="clearer"></div>';
|
||||
|
||||
if ($choice->intro) {
|
||||
print_box(format_module_intro('choice', $choice, $cm->id), 'generalbox', 'intro');
|
||||
echo $OUTPUT->box(format_module_intro('choice', $choice, $cm->id), 'generalbox', 'intro');
|
||||
}
|
||||
|
||||
$current = false; // Initialise for later
|
||||
|
||||
Reference in New Issue
Block a user