diff --git a/course/lib.php b/course/lib.php index 52302409346..756efd22fe1 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1353,7 +1353,7 @@ function get_print_section_cm_text(cm_info $cm, $course) { * @param array $mods (argument not used) * @param array $modnamesused (argument not used) * @param bool $absolute All links are absolute - * @param string $width Width of the container + * @param string $width (argument not used) * @param bool $hidecompletion Hide completion status * @param int $sectionreturn The section to return to * @return void @@ -1367,7 +1367,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, static $groupbuttonslink; static $isediting; static $ismoving; - static $strmovehere; + static $movingpix; static $strmovefull; static $strunreadpostsone; @@ -1377,7 +1377,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, $isediting = $PAGE->user_is_editing(); $ismoving = $isediting && ismoving($course->id); if ($ismoving) { - $strmovehere = get_string("movehere"); + $movingpix = new pix_icon('movehere', get_string('movehere'), 'moodle', array('class' => 'movetarget')); $strmovefull = strip_tags(get_string("movefull", "", "'$USER->activitycopyname'")); } $initialised = true; @@ -1386,12 +1386,9 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, $modinfo = get_fast_modinfo($course); $completioninfo = new completion_info($course); - //Accessibility: replace table with list