diff --git a/CHANGES.md b/CHANGES.md index 3c5f021e8678df2be14b419b6f183ba5668160a6..d54a152f51cc73e311afa8591f7a712b0c7228c9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2019-05-27 - Added multilanguage filtering to the login background image texts. * 2019-05-24 - Prevent back-to-top button from being printed. * 2019-05-03 - Added a setting to be able to add texts to your uploaded background images for the login page. * 2019-05-02 - Added setting to be able to add additional resources to the theme. diff --git a/locallib.php b/locallib.php index d072026af053dc1c47617523ea886ce6b0e80fed..9c4c8d966206361a189a08ffac9748adc47572af 100644 --- a/locallib.php +++ b/locallib.php @@ -127,7 +127,7 @@ function theme_boost_campus_get_loginbackgroundimage_text() { $settings = explode("|", $line); // Compare the filenames for a match and return the text that belongs to the randomly selected image. if (strcmp($filename, $settings[0]) == 0) { - return $settings[1]; + return format_string($settings[1]); break; } }