diff --git a/course/editsection.php b/course/editsection.php index 37a2590c0b4..aa1c08ea85a 100644 --- a/course/editsection.php +++ b/course/editsection.php @@ -72,7 +72,7 @@ $PAGE->set_heading($course->fullname); $PAGE->navbar->add($stredit); echo $OUTPUT->header(); -echo $OUTPUT->heading_with_help($strsummaryof, 'summaries'); +echo $OUTPUT->heading($strsummaryof); $mform->display(); echo $OUTPUT->footer(); diff --git a/course/editsection_form.php b/course/editsection_form.php index 3c39ff03421..ab260496b8b 100644 --- a/course/editsection_form.php +++ b/course/editsection_form.php @@ -24,6 +24,7 @@ class editsection_form extends moodleform { /// Prepare course and the editor $mform->addElement('editor', 'summary_editor', get_string('summary'), null, $this->_customdata['editoroptions']); + $mform->addHelpButton('summary_editor', 'summary'); $mform->setType('summary_editor', PARAM_RAW); $mform->addElement('hidden', 'id'); diff --git a/lang/en/help/summaries.html b/lang/en/help/summaries.html deleted file mode 100644 index 094766a21cc..00000000000 --- a/lang/en/help/summaries.html +++ /dev/null @@ -1,20 +0,0 @@ -
The idea of a topic summary is a very short text to prepare students - - for the activities within this topic (or week).
- - - -Each summary should be very short so that the course page doesn't become too long.
- - - -If you find yourself wanting to say more than a sentence or two then - - consider adding a resource to this topic instead (for example, the first activity - - might be a page called About This Topic).
- diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 160071d7470..80d1a20cb0a 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -793,7 +793,6 @@ $string['healthreturntomain'] = 'Continue'; $string['healthsolution'] = 'Solution'; $string['help'] = 'Help'; $string['helpprefix2'] = 'Help with {$a}'; -$string['helpsummaries'] = 'About these summaries'; $string['helpwiththis'] = 'Help with this'; $string['hiddenassign'] = 'Hidden assignment'; $string['hiddenfromstudents'] = 'Hidden from students'; @@ -1589,8 +1588,8 @@ $string['subcategories'] = 'Sub-categories'; $string['submit'] = 'Submit'; $string['success'] = 'Success'; $string['summary'] = 'Summary'; +$string['summary_help'] = 'The idea of a summary is a short text to prepare students for the activities within the topic or week. The text is shown on the course page under the section name.'; $string['summaryof'] = 'Summary of {$a}'; -$string['summaryof_help'] = 'The idea of a summary is a short text to prepare students for the activities within the topic or week. The text is shown on the course page under the section name.'; $string['supplyinfo'] = 'More details'; $string['switchrolereturn'] = 'Return to my normal role'; $string['switchroleto'] = 'Switch role to...';