Moodle

Lang broken in message

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.8.3
  • Fix Version/s: None
  • Component/s: Messages
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE

Description

In message/lib.php

      • 1444,1444 ****
      • 1444,1444 ----

email_to_user($userto, $userfrom, $messagesubject, $messagetext, $messagehtml);
debugging('Mail was sent', DEBUG_NORMAL);
+ echo get_string ('mailsent', message);

  • echo "mail was sent";
    sleep(3);

====================================================0
In user/messageselect.php

      • 88,88 ***
      • 88,88 —

echo "<h3>".get_string('previewhtml')."</h3><div class=\"messagepreview\">\n".format_text(stripslashes($messagebody),$format)."\n</div>";

  • echo "\n<p align=\"center\"><input type=\"submit\" name=\"send\" value=\"Send\" /> <input type=\"submit\" name=\"edit\" value=\"Edit\" /></p>\n</form>";
    + echo '<p align="center"><input type="submit" name="send" value="'.get_string('sendmessage', message).'"> <input type="submit" name="edit" value="' . get_string('edit', message) . '" /></p></form>';
    } elseif ($send) {

Activity

Hide
Dan Poltawski added a comment -

These both seem to have been fixed now, closing

Show
Dan Poltawski added a comment - These both seem to have been fixed now, closing

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: