From 33b6b8c93ec90c4136758a7b0120448b8e265521 Mon Sep 17 00:00:00 2001 From: Jason Fowler Date: Fri, 18 Jul 2014 08:22:17 +0800 Subject: [PATCH] MDL-42909 Course: Fix title for move-targets --- course/renderer.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/course/renderer.php b/course/renderer.php index 96f7359c38477..8cb4ff0814eb8 100644 --- a/course/renderer.php +++ b/course/renderer.php @@ -1098,8 +1098,9 @@ public function course_section_cm_list($course, $section, $sectionreturn = null, foreach ($moduleshtml as $modnumber => $modulehtml) { if ($ismoving) { $movingurl = new moodle_url('/course/mod.php', array('moveto' => $modnumber, 'sesskey' => sesskey())); - $sectionoutput .= html_writer::tag('li', html_writer::link($movingurl, $this->output->render($movingpix)), - array('class' => 'movehere', 'title' => $strmovefull)); + $sectionoutput .= html_writer::tag('li', + html_writer::link($movingurl, $this->output->render($movingpix), array('title' => $strmovefull)), + array('class' => 'movehere')); } $sectionoutput .= $modulehtml; @@ -1107,8 +1108,9 @@ public function course_section_cm_list($course, $section, $sectionreturn = null, if ($ismoving) { $movingurl = new moodle_url('/course/mod.php', array('movetosection' => $section->id, 'sesskey' => sesskey())); - $sectionoutput .= html_writer::tag('li', html_writer::link($movingurl, $this->output->render($movingpix)), - array('class' => 'movehere', 'title' => $strmovefull)); + $sectionoutput .= html_writer::tag('li', + html_writer::link($movingurl, $this->output->render($movingpix), array('title' => $strmovefull)), + array('class' => 'movehere')); } }