diff --git a/bulkopenrules.php b/bulkopenrules.php index d7a69b9..9c59687 100644 --- a/bulkopenrules.php +++ b/bulkopenrules.php @@ -61,9 +61,6 @@ $renderer = $PAGE->get_renderer('mod_dialogue'); echo $OUTPUT->header(); -if (!empty($dialogue->activityrecord->intro)) { - echo $OUTPUT->box(format_module_intro('dialogue', $dialogue->activityrecord, $cm->id), 'generalbox', 'intro'); -} echo $renderer->tab_navigation($dialogue); diff --git a/conversation/create.php b/conversation/create.php index 2d5a974..b47653f 100644 --- a/conversation/create.php +++ b/conversation/create.php @@ -88,8 +88,5 @@ // Display form page. echo $OUTPUT->header(); echo $OUTPUT->heading(format_string($activityrecord->name)); -if (!empty($dialogue->activityrecord->intro)) { - echo $OUTPUT->box(format_module_intro('dialogue', $dialogue->activityrecord, $cm->id), 'generalbox', 'intro'); -} $form->display(); echo $OUTPUT->footer($course); diff --git a/conversation/edit.php b/conversation/edit.php index 5f419bc..c6192ec 100644 --- a/conversation/edit.php +++ b/conversation/edit.php @@ -77,8 +77,5 @@ // Display form page. echo $OUTPUT->header(); echo $OUTPUT->heading(format_string($activityrecord->name)); -if (!empty($dialogue->activityrecord->intro)) { - echo $OUTPUT->box(format_module_intro('dialogue', $dialogue->activityrecord, $cm->id), 'generalbox', 'intro'); -} $form->display(); echo $OUTPUT->footer($course); diff --git a/drafts.php b/drafts.php index 0008e83..c753df7 100644 --- a/drafts.php +++ b/drafts.php @@ -59,9 +59,6 @@ $renderer = $PAGE->get_renderer('mod_dialogue'); echo $OUTPUT->header(); -if (!empty($dialogue->activityrecord->intro)) { - echo $OUTPUT->box(format_module_intro('dialogue', $dialogue->activityrecord, $cm->id), 'generalbox', 'intro'); -} echo $renderer->tab_navigation($dialogue); $html = ''; diff --git a/view.php b/view.php index 09155d1..1e9cdc0 100755 --- a/view.php +++ b/view.php @@ -76,9 +76,6 @@ echo $OUTPUT->header(); echo $OUTPUT->heading(format_string($activityrecord->name)); -if (!empty($dialogue->activityrecord->intro)) { - echo $OUTPUT->box(format_module_intro('dialogue', $dialogue->activityrecord, $cm->id), 'generalbox', 'intro'); -} // Render tab navigation, toggle button groups and order by dropdown. echo $renderer->tab_navigation($dialogue); diff --git a/viewconversationsbyrole.php b/viewconversationsbyrole.php index 2f99264..08213b2 100755 --- a/viewconversationsbyrole.php +++ b/viewconversationsbyrole.php @@ -81,9 +81,6 @@ echo $OUTPUT->header(); echo $OUTPUT->heading(format_string($activityrecord->name)); -if (!empty($dialogue->activityrecord->intro)) { - echo $OUTPUT->box(format_module_intro('dialogue', $dialogue->activityrecord, $cm->id), 'generalbox', 'intro'); -} // Render tab navigation, toggle button groups and order by dropdown. echo $renderer->tab_navigation($dialogue);