Skip to content

Commit

Permalink
MDL-21695 Replaced summaries.html
Browse files Browse the repository at this point in the history
AMOS BEGIN
 HLP summaries.html,[summary_help,core]
AMOS END
  • Loading branch information
mudrd8mz committed Jun 28, 2010
1 parent 1466dff commit b54a054
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion course/editsection.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
$PAGE->navbar->add($stredit);
echo $OUTPUT->header();

echo $OUTPUT->heading_with_help($strsummaryof, 'summaries');
echo $OUTPUT->heading($strsummaryof);

$mform->display();
echo $OUTPUT->footer();
1 change: 1 addition & 0 deletions course/editsection_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function definition() {
/// 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');
Expand Down
20 changes: 0 additions & 20 deletions lang/en/help/summaries.html

This file was deleted.

3 changes: 1 addition & 2 deletions lang/en/moodle.php
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,6 @@
$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';
Expand Down Expand Up @@ -1589,8 +1588,8 @@
$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...';
Expand Down

0 comments on commit b54a054

Please sign in to comment.