From ca887bc9bcde24f1c26cf65e34851e82ef7a38d0 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Mon, 7 Oct 2013 16:13:41 +0800 Subject: [PATCH] MDL-22669 course: Display section number for orphaned activities --- course/format/renderer.php | 2 +- lang/en/moodle.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/course/format/renderer.php b/course/format/renderer.php index 2b8067ec42f..474afbab00f 100644 --- a/course/format/renderer.php +++ b/course/format/renderer.php @@ -515,7 +515,7 @@ abstract class format_section_renderer_base extends plugin_renderer_base { $o.= html_writer::tag('div', '', array('class' => 'left side')); $o.= html_writer::tag('div', '', array('class' => 'right side')); $o.= html_writer::start_tag('div', array('class' => 'content')); - $o.= $this->output->heading(get_string('orphanedactivities'), 3, 'sectionname'); + $o.= $this->output->heading(get_string('orphanedactivitiesinsectionno', '', $sectionno), 3, 'sectionname'); return $o; } diff --git a/lang/en/moodle.php b/lang/en/moodle.php index a7bcc3066af..c4a4871d9c4 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1246,6 +1246,7 @@ $string['options'] = 'options'; $string['order'] = 'Order'; $string['originalpath'] = 'Original path'; $string['orphanedactivities'] = 'Orphaned activities'; +$string['orphanedactivitiesinsectionno'] = 'Orphaned activities (section {$a})'; $string['other'] = 'Other'; $string['outline'] = 'Outline'; $string['outlinereport'] = 'Outline report';