More multilang support for site fullname, plus a couple extra comments. merged from MOODLE_18_STABLE

This commit is contained in:
skodak 2007-03-30 21:10:15 +00:00
parent 12970ac363
commit c543cfe15f

View file

@ -5,6 +5,11 @@
function emailprotect_filter($courseid, $text) {
if (!empty($CFG->formatstring)) {
return $text;
}
/// Do a quick check using stripos to avoid unnecessary work
if (strpos($text, '@') === false) {
return $text;