mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-42909 Course: Fix title for move-targets
This commit is contained in:
parent
5fd0df97c5
commit
33b6b8c93e
@ -1098,8 +1098,9 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
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 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
|
||||
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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user