diff --git a/lang/en/attendance.php b/lang/en/attendance.php index 5558deb..75c771d 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -583,3 +583,4 @@ $string['formattexttype'] = 'Formatting'; $string['currentlyselectedusers'] = 'Currently selected users'; $string['usemessageform'] = 'or use the form below to send a message to the selected students'; $string['backtoparticipants'] = 'Back to participants list'; +$string['previewhtml'] = 'HTML format preview'; \ No newline at end of file diff --git a/messageselect.php b/messageselect.php index 12c3d00..99d712a 100644 --- a/messageselect.php +++ b/messageselect.php @@ -131,7 +131,7 @@ if (!empty($messagebody) && !$edit && !$deluser && ($preview || $send)) { '; - echo "

".get_string('previewhtml')."

"; + echo "

".get_string('previewhtml', 'mod_attendance')."

"; echo "
\n".format_text($messagebody, $format)."\n
\n"; echo '

'."\n"; echo '

'; @@ -156,7 +156,7 @@ if (!empty($messagebody) && !$edit && !$deluser && ($preview || $send)) { } echo ''; } - echo '

'.get_string('backtoparticipants').'

'; + echo '

'.get_string('backtoparticipants', 'mod_attendance').'

'; } echo $OUTPUT->footer(); exit;