From 560f549593eef6e9d736f76a000017177f6a488d Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Fri, 24 Jun 2011 16:41:47 +0800 Subject: [PATCH] MDL-27922 lesson mod: fixed string for activity link --- mod/lesson/lang/en/lesson.php | 2 +- mod/lesson/locallib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/lesson/lang/en/lesson.php b/mod/lesson/lang/en/lesson.php index 4a2a3b1803b12..abc853a62ab33 100644 --- a/mod/lesson/lang/en/lesson.php +++ b/mod/lesson/lang/en/lesson.php @@ -34,7 +34,7 @@ $string['actions'] = 'Actions'; $string['activitylink'] = 'Link to an activity'; $string['activitylink_help'] = 'To provide a link at the end of the lesson to another activity in the course, select the activity from the dropdown list.'; -$string['activitylinkname'] = 'Go to: {$a}'; +$string['activitylinkname'] = 'Go to {$a}'; $string['addabranchtable'] = 'Add a content page'; $string['addanendofbranch'] = 'Add an end of branch'; $string['addanewpage'] = 'Add a new page'; diff --git a/mod/lesson/locallib.php b/mod/lesson/locallib.php index b4fb01e7a15de..84a8661eedb83 100644 --- a/mod/lesson/locallib.php +++ b/mod/lesson/locallib.php @@ -1280,7 +1280,7 @@ public function link_for_activitylink() { $instancename = $DB->get_field($modname, 'name', array('id' => $module->instance)); if ($instancename) { return html_writer::link(new moodle_url('/mod/'.$modname.'/view.php', array('id'=>$this->properties->activitylink)), - get_string('returnto', 'lesson', get_string('activitylinkname', 'lesson', $instancename)), + get_string('activitylinkname', 'lesson', $instancename), array('class'=>'centerpadded lessonbutton standardbutton')); } }