MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently

This commit is contained in:
Sam Hemelryk
2011-09-08 09:30:27 +12:00
parent 5d2db8acc8
commit 8ebbb06adf
70 changed files with 295 additions and 166 deletions
+1 -1
View File
@@ -3597,7 +3597,7 @@ function print_context_name($context, $withprefix = true, $short = false) {
$name = get_string('course').': ';
}
if ($short){
$name .= format_string($course->shortname);
$name .= format_string($course->shortname, true, array('context' => $context));
} else {
$name .= format_string($course->fullname);
}