From: skodak Date: Tue, 15 May 2007 19:56:08 +0000 (+0000) Subject: MDL-9730 resource name is now used in accessibility pdf link instead of summary hat... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7b8f289cdff58d554d8d456db76d56086658167f;p=moodle.git MDL-9730 resource name is now used in accessibility pdf link instead of summary hat may not be always present; merged from MOODLE_18_STABLE --- diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index f0f061181a..a035ea699d 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -543,7 +543,7 @@ function display() { } elseif ($resourcetype == 'pdf') { echo '
'; echo ''; - echo get_string('clicktoopen', 'resource') . '' . $resource->summary . ''; + echo get_string('clicktoopen', 'resource') . '' . format_string($resource->name) . ''; echo ''; echo '
'; }