diff --git a/lang/en/attendance.php b/lang/en/attendance.php index 9c79337..2c9e1a3 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -575,3 +575,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;