mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-47995 mod_resource: properly encode resource title
This commit is contained in:
parent
803f565753
commit
c9b445990f
@ -137,7 +137,7 @@ function resource_display_frame($resource, $cm, $course, $file) {
|
|||||||
$navurl = "$CFG->wwwroot/mod/resource/view.php?id=$cm->id&frameset=top";
|
$navurl = "$CFG->wwwroot/mod/resource/view.php?id=$cm->id&frameset=top";
|
||||||
$title = strip_tags(format_string($course->shortname.': '.$resource->name));
|
$title = strip_tags(format_string($course->shortname.': '.$resource->name));
|
||||||
$framesize = $config->framesize;
|
$framesize = $config->framesize;
|
||||||
$contentframetitle = format_string($resource->name);
|
$contentframetitle = s(format_string($resource->name));
|
||||||
$modulename = s(get_string('modulename','resource'));
|
$modulename = s(get_string('modulename','resource'));
|
||||||
$dir = get_string('thisdirection', 'langconfig');
|
$dir = get_string('thisdirection', 'langconfig');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user